← All projects

Software

Your music library,
repaired in place.

A TUI utility that finds what is wrong with a music library's tags, shows the reasoning behind every fix, and writes only what you approve. Tags it cannot work out from the library itself are filled in from MusicBrainz, and every album can be compared with MusicBrainz and its tags replaced with MusicBrainz’s.

Version 0.21.0. Runs on any distribution with glibc 2.31 or later: Raspberry Pi OS 11, Debian 11, Ubuntu 20.04 and newer. File sizes and checksums

Luthier wordmark: a vinyl record behind a stylized capital L, next to the name in serif type

A large digital music collection becomes harder to index and navigate as it grows. One artist ends up spelled three different ways across a handful of albums. A compilation splits into a dozen separate entries because the album artist tag is missing. A vinyl rip and an SACD rip of the same record show up as identical rows with nothing to tell them apart. These problems often become apparent only when you browse the collection. Fixing them manually across a large library is risky: bulk tag edits can be difficult to undo.

Luthier starts by recording the library's tags. That snapshot is small, usually a few tens of megabytes even for a large collection, and the tags in it can be restored after any fix. You can review proposed repairs before applying them. The snapshot holds tags only, so cue sheets rewritten by the genre pass are not restored from it.

Luthier is one piece of a larger project: a bitperfect, multi-room music setup built from free and open-source software instead of a paid subscription service. The full guide covers preparing the library, running the servers and connecting the rooms.

Review each fix before applying it.

The console lets you inspect and approve fixes before the command-line tools apply them. It shows the problems found in the library, the changes each fix proposes, and the risks involved.

The Library tab: collection contents, tag coverage and issue counts, with links to review fixes and other findings.
The Fixes tab: Check all against MusicBrainz selected, with Look up on MusicBrainz, its options and the albums whose tags differ from their release. Findings live here too, under Versions and duplicates, Cover art and Damaged files.

Two fixes work from the MusicBrainz online database. Empty fields from MusicBrainz finds an album’s release and fills in only the tags the album leaves empty. Check all against MusicBrainz compares every album’s tags with its release and lists the differences; select an album to replace its tags with the release’s. Its Add MusicBrainz ids option also writes the release, release group and album artist ids an album lacks. Looking up is a separate step, because MusicBrainz answers one request a second and a whole library takes hours: press Look up on MusicBrainz in the pane, set a scope first to do part of the library, and stop at any time. Every answer is kept, so the next run starts where the last one stopped.

Selecting a fix shows The problem, The fix, Risk and Impact, with Options where available. The Impact section explains which items the fix checks, which it changes and which it leaves unchanged. It lists every affected album, folder, field or rule, showing the current value above the proposed value.

Every item has a checkbox, as does each row in the findings table. If a fix is correct for forty albums but wrong for one, clear that album’s checkbox. The count, preview and applied changes update to match. Your exclusions are saved by folder, field or rule, rather than row position, and remain in place when you analyze the library again. See all findings, at the top of the pane, opens a table of all findings from that pass, including items it checked but did not propose changing. You can filter the table, select individual rows using their checkboxes, or open it in a browser for more space.

On the Fixes tab, Versions and duplicates holds the bit-identical and multi-copy album lists. Both show one row per folder. In the multi-copy list, icons and color mark each copy against the better copies. Select a folder and choose Move selected… to review the move before confirming. The folder goes to .luthier-removed at the library root; nothing is deleted. Restore in Versions and duplicates, or Undo last rename, reverses the last run of moves.

Versions and duplicates: compare copies of one album, then select the folders you want to move out.

Cover art opens Fetch art, where you choose albums before fetching images, then check them in your browser with Preview fetched artwork. Damaged files lists files that failed a decode check.

Fetch art: choose albums with missing covers before fetching candidates for review.

A strip under every tab says which snapshot the session uses to plan changes and warns when it has gone stale: when it is over a day old, when a folder changed after it was taken, or when the library contains albums missing from the snapshot. If the snapshot belongs to another drive, or no snapshot is available, preview and apply are disabled. The reason is shown on screen.

The Snapshots tab: one baseline that every fix is planned from, and restore points that never go stale.
The Import tab: stage new music inside the library, check for duplicates, check that the files decode, apply fixes only to the new music, and finish the import.

The Settings tab stores the locations of your library, snapshots and incoming music, so running luthier opens straight into your library. It also holds the genre rules, which Genres… on the Genre sprawl fix opens too: add a genre at the top of the match order, move it, edit its pattern, or reset to the built-in list. The command line uses the same rules without an extra flag. Once a day, when the console starts, it asks phorel.net whether a newer Luthier is out, sending a random id made for this install, the Luthier version and the operating system name, and nothing about your library; clear Check for updates in Settings and nothing is sent.

What it fixes.

  • Stray bytes. Invisible characters left behind by old taggers, the kind that quietly split one artist into two.
  • Non-standard tag keys. ALBUM ARTIST, ALBUM_ARTIST and BAND converted to the standard key used by music servers.
  • Artist spellings. Case, punctuation and stray diacritics reconciled across every field that names a person, including composers and sort names most taggers skip. Intentional spellings, like dEUS, can be pinned from the console with Pin spellings…, so automatic spelling corrections preserve them.
  • Missing artists. Read from the folder layout and checked against the library's own tags by default.
  • Missing album artists. Missing album artist tags can split an album into separate entries. Luthier fills them in where the library’s tags provide clear evidence.
  • Albums with no tags. Tagged from their file names, checked against the MusicBrainz online database. Without a connection, the names are used as spelled.
  • Empty fields from MusicBrainz. Tags an album leaves empty, and the library cannot supply, filled from its release on MusicBrainz: the MusicBrainz ids music servers group albums by, the original year, the album artist of a compilation, disc numbers. A release is used only when its tracks match the album’s in number and length, and a value already set is never replaced. An album that lacks only the ids is not looked up.
  • Check all against MusicBrainz. Every album’s tags compared with its release on MusicBrainz, to catch a misspelled title, a track artist that is not the one credited, or tracks numbered out of order. Case, accents, punctuation and edition labels in brackets do not count as differences. Albums start unselected; selecting one replaces its tags with the release’s. Add MusicBrainz ids also writes the ids an album lacks.
  • Genre sprawl. Dozens of near-duplicate genre strings combined into one consistent list, decided per album rather than per track.
  • Editions. A CD rip, a vinyl rip and an SACD of the same record labeled so they read as different pressings instead of duplicates.
  • Folder names. Album folders renamed to Artist - (Year) Album from their own tags, keeping whatever else the old name said, like (CD, UK) or [WEB]. Every rename is logged, tags can still be restored afterward, and Undo last rename reverses the most recent batch of folder renames.
  • Missing cover art. Finds cover images for you to preview in your browser before you apply them.

Each of these is a dry run by default. Luthier also finds duplicate and near-duplicate audio, tells you whether new arrivals are already in the library, checks that files actually decode, and fetches missing cover art for you to preview first. No changes are applied until you approve them.

Works with FLAC, MP3, MP4/M4A, WMA and DSF. flac and ffmpeg are optional external programs for decode checks.

Quick start.

In the console

  1. Open it. Download and unpack the ZIP for your computer. Open a terminal in the extracted folder, such as luthier-0.21.0-linux-x86_64, and run:
    chmod +x luthier
    ./luthier
    The first launch takes a few seconds while the executable unpacks its bundled files. In Settings, enter your Library location and Tagsnap location. Keep snapshots on another drive if possible. Press Save, quit with q and run ./luthier again. After that it opens straight into the library.
  2. Take a baseline. On the Snapshots tab, choose New snapshot or press s. This is the safety net: the library's tags, recorded before anything is written.
  3. Analyze. Press a. The counts on the Fixes tab update as each pass completes, and the Library tab summarizes the counts. Review the findings on the Fixes tab under Versions and duplicates, Cover art and Damaged files.
  4. Choose what to fix. Select fixes using the checkboxes on the Fixes tab. Read the Impact section for each one, clear the checkboxes for any incorrect proposals, and press d or See all findings to see the full findings table.
  5. Preview, then apply. Press p to list the selected changes in the order they would be applied. Excluded items do not appear. When you are satisfied with the preview, press r or Apply selected, and confirm.
    Spellings of the same ARTIST        6 changes    review first
       artist            SCANN-TEC      →  Scann-Tec    10 files
    Missing ALBUMARTIST                 7 changes    safe
       ALBUMARTIST       (none)         →  Norah Jones  _incoming/Norah Jones - 2004 …
  6. Changed your mind? Restore from this on the Snapshots tab displays the exact restore command to paste into a terminal. Folder renames have their own Undo last rename button in the Folder names pane.

From the command line

# 1. the safety net, before anything else
luthier snapshot /music -o ~/tags-2026-09-23.jsonl.gz

# 2. what state is this library actually in?
luthier report ~/tags-2026-09-23.jsonl.gz

# 3. run a pass as a dry run, read it, then apply it
luthier albumartist ~/tags-2026-09-23.jsonl.gz --root /music
luthier albumartist ~/tags-2026-09-23.jsonl.gz --root /music --apply

# 4. changed your mind
luthier restore /music ~/tags-2026-09-23.jsonl.gz --only ALBUMARTIST --apply

No changes are applied without --apply. Each pass that changes files accepts --only PREFIX to limit changes to part of the library while still reading all of it, and luthier <command> --help lists each command's options.

The user manual (PDF) covers the full workflow, restoring tags, undoing folder renames and every command.

Version history.

  • 0.21.0, October 25, 2026. Empty fields from MusicBrainz no longer looks up albums that lack only the MusicBrainz ids. Check against MusicBrainz is now Check all against MusicBrainz; its Add MusicBrainz ids option writes the ids an album lacks. The genre rules open from Settings and from the Genre sprawl fix. Smaller interface improvements.
  • 0.20.0, October 25, 2026. Empty fields are filled from MusicBrainz, and tags can be checked against MusicBrainz and corrected per album; Look up on MusicBrainz asks about the albums in scope. The splash screen says what Luthier is.
  • 0.18.5, October 23, 2026. Albums with no tags are tagged from their file names, checked against MusicBrainz. Adds a daily update check, which Check for updates in Settings turns off. Rebuilt on October 24, 2026, for 64-bit and 32-bit ARM, and to run on glibc 2.31 and later.
  • 0.18.4, October 23, 2026. Fixes cover art fetching. Opening the artwork preview in your browser no longer writes over the console. The preview button is now Preview fetched artwork and stays grayed out until something has been fetched. Staged covers that were already installed, or whose albums are gone, are cleared and no longer offered again.
  • 0.18.3, October 19, 2026. After applying, a dialog lists what was written and offers a new snapshot. On start-up, a dialog offers a new snapshot when the baseline is behind the library. Applying checks only the files a fix writes and shows progress in the status bar. Accented names group with their plain spellings and show as tagged. Put back is now Restore.
  • 0.18.1, October 19, 2026. The duplicate lists’ move action is now Move selected…, and they say which albums can be selected. Ticking a folder no longer scrolls the list, and a refused tick says why.
  • 0.18.0, October 19, 2026. Findings move to the Fixes tab, under Versions and duplicates, Cover art and Damaged files. Folders in the duplicate lists can be moved out to .luthier-removed and put back; nothing is deleted. The multi-copy list marks each copy against the better ones.
  • 0.17.0, October 16, 2026. First public release: a single Linux executable, freeware under the included license, reading and writing tags with TagLib.

Get Luthier

Version 0.21.0. Runs on any distribution with glibc 2.31 or later: Raspberry Pi OS 11, Debian 11, Ubuntu 20.04 and newer.

Linux x86_64 · ZIP · 22.8 MiB (23,859,661 bytes)
SHA-256: 9409c6fd73a75589f0f3ea6d1a098d4a081019844ff19feb0ee2b7ee4ab32eeb

Linux 64-bit ARM (aarch64) · ZIP · 22.0 MiB (23,084,589 bytes)
SHA-256: 71b0709c7226a33d71487c5798a5749e60d5b7fb4e40dd19292179b43a12cc55

Linux 32-bit ARM (armv7l, e.g. Raspberry Pi) · ZIP · 20.1 MiB (21,029,508 bytes)
SHA-256: 4d13d89f1efb1f397373deb4586d6dde71c8e5201902394959cb07ce6db72210

The ZIP includes the executable, manual, license and third-party notices.

Freeware under the included Luthier license. Third-party licenses are in third-party-licenses/ in the ZIP. TagLib 2.3.2 source is available separately.

← Back to the projects