Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 5.3 KB

README.md

File metadata and controls

75 lines (50 loc) · 5.3 KB

Scribe

Edit MusicBrainz text fields, or a whole release as Markdown, in your own editor (VS Code, Vim, Notepad…).

video.mov

Features

Both need the helper running.

Edit a field

Press Ctrl+Alt+E in a text field: its text opens in your editor as a .md file, and each save updates the field. Several fields can be open at once; Esc in a field disconnects it.

Edit a whole release

On a release's Edit page, Scribe's corner icon shows while the helper runs: grey, in colour while you edit. Click it or press Ctrl+Alt+R to open the release as one Markdown document (format). Each save applies to the release editor; submit as usual.

A window beside the icon lists this session's changes. A value that can't be applied (an invalid status, say) is flagged with ⌖ to its field and counted in the header. ✕ stops editing.

Applied release info and events, labels, catalogue numbers, titles, lengths, artist credits
Not yet external links; adding, removing or reordering tracks (use the native editor)

Titles are the track and medium titles; release info is the title, disambiguation, status, packaging, language, script, barcode and annotation.

Artists and labels link to their MBID at the bottom of the document; a [Name] without one creates a new entity.

Scribe adds a summary of what it set to the edit note (Edited via Markdown — set 5 fields: release title, barcode · 2 track fields…), keeps your text, and updates the summary on each save.

The helper

A small local program that opens files in your editor and hands the saved text back. It listens only on 127.0.0.1, and every request needs its token.

.\scribe.exe --editor "code -r"              # Windows: a tray app
.\scribe.exe --startup --editor "code -r"    # …and start with Windows from now on
chmod +x scribe && ./scribe --editor "code -r"   # macOS / Linux: runs headless
./scribe --startup on                            # start at login (off to undo)
Option Default
--port 17999 listen port
--token extedit shared secret; set the same one in the userscript (manager menu → Set token)
--editor "<cmd>" the OS default app "code -r", subl, vim…; none only writes the file; remembered
--startup run at startup (on/off on macOS and Linux)

On Windows, the tray menu has Set editor…, Open log, Run at startup and Exit. A path with spaces goes in inner quotes: --editor "'C:\Program Files\Microsoft VS Code\Code.exe' -r".

Log and settings Run at startup
Windows %LOCALAPPDATA%\Scribe\ HKCU\…\Run
macOS ~/Library/Application Support/Scribe/ ~/Library/LaunchAgents/…plist
Linux ~/.local/share/Scribe/ ~/.config/autostart/scribe.desktop

How the userscript and the helper talk is in DEVELOP.md.

Shortcuts

Key Where
Ctrl+Alt+E any text field edit it in your editor
Ctrl+Alt+R a release's Edit page start or stop editing the whole release