Skip to content

Writing criteria for this guide

Every "for Mere Mortals" guide is written to the same nine-point standard, so a reader who trusts one can trust the rest. Here it is, with the verification notes for this particular guide below.

  1. Fix it first. Reader outcomes lead, not action items: each chapter opens by naming the outcome it delivers, shows a check the reader can run to confirm they got it, and a reasonable reader finishes able to state what was done, what it means, and what to try next.
  2. Plain language. Short sentences, everyday vocabulary, technical terms defined on first use. No slang, and no idioms that only make sense in one country — the reader may be translating as they go.
  3. No dead ends. A guide never tells the reader to do something it cannot show them how to verify. Every claim a reader relies on — an install, a command, an output — is something this guide demonstrates or clearly labels documented-only below.
  4. Live-verified where it matters. Procedures are run for real in the guide's lab wherever the build machine allows it, and the transcripts kept in the repository are the evidence. What could not be run is listed honestly below, never presented as if it had been.
  5. General audiences. Nothing in this guide — examples, fixtures, names, addresses — is modelled on any particular reader or author's real life, network, or organisations. The lab's artists and albums are invented, and its one real recording title is used only as public metadata to match against, as described below.
  6. Standalone. A reader needs this guide, its lab, and nothing else. Where another guide would genuinely help, it is pointed to once, by name, and the chapter still completes without it.
  7. Honest about limits. Chapter 12 names what the tool cannot do: album records that renaming cannot merge (and, in 2.14.1, an importer merge that does not combine records holding different tracks), a matcher that reasons over names and lengths and never hears the audio, MusicBrainz coverage as the ceiling of matching, the pop-shaped data model that fits classical music badly, a one-file, one-writer database, and the genres field that beet update reports but does not store in this version.
  8. The ethics rule is in the text, early. Beets' line is drawn in chapter 1 and in the README, before any procedure: beets organises files you already have and this guide is not about obtaining music; and its one network disclosure is stated where it belongs — autotagging sends an album's artist and title strings and track lengths to MusicBrainz, never the audio, while the as-is path sends nothing.
  9. Builds clean. The site builds with MkDocs in strict mode with no warnings, and a fresh reader following the chapters in order reaches the stated outcome of each.

Verification notes for this guide

The build machine is a 2-CPU, 7.7 GB Ubuntu 24.04 sandbox, shared with other work while the lab ran. Beets 2.14.1 (PyPI, into a Python 3.12 virtual environment) was run unmodified, with ffmpeg 8.1.2 as the fixture and measurement tool. The fixture library was generated, not collected: short sine tones and one silence, written by beets-lab/make-fixtures.sh and tagged as two albums by invented artists — The Lab Tones (MP3, one album carrying a deliberate misspelling) and Ada Volt & The Resistors (FLAC) — plus a byte-for-byte copy of one track and two generated cover squares. All transcripts live in beets-lab/transcripts/; the lab's three config files and the terminal-driving scripts used for the interactive prompts are in beets-lab/ beside them.

Run for real, with transcripts as evidence:

  • Version, help output, and the database migration backups a first run prints (t00); fixture generation and independent ffprobe readings of the tags written (t01).
  • As-is import of three albums: files re-filed by tag into the generated tree, a cover picture carried along, and the misspelled album faithfully filed under its typo (t02).
  • Queries: full and per-artist listings, the album listing exposing the typo, -f format strings, the info plugin's file-level reading, and stats (t03).
  • modify at item level and at album level (-a), the tags rewritten inside the file (proven by ffprobe), and beet move filing two same-named album records into %aunique{}-numbered folders (t04).
  • The merge question, tested three ways — the interactive Merge all answer under a real terminal, a piped answer, and import.duplicate_action: merge — none of which combined two album records holding different tracks in 2.14.1 (t05, with the album_id listing as proof).
  • Reuniting the album the reliable way: remove the records (files kept), gather the corrected tracks in one folder, re-import as one album, clean the orphaned folders (t06).
  • The duplicates plugin against a byte-for-byte copy: its default MusicBrainz-ID grouping finding nothing, the tag-key grouping finding the spare, the ffmpeg-CRC checksum finding nothing because the library copy carries an embedded picture the spare lacks (both CRC values and both files' stream lists examined), and --delete returning the library to six tracks (t07).
  • fetchart's filesystem source finding a local cover.jpg for the FLAC album, embedart writing it into the files (an mjpeg stream appears under ffprobe), and the discovery that fetchart -f disables the local source (t08); the importer itself had associated the other album's art at import time (t02, t03's art: True).
  • The web plugin serving on loopback at the lab's assigned port: /item/, /album/, and /stats answered as JSON, then the server was stopped (t09).
  • One autotag match against the real MusicBrainz: a generated 2:05 tone tagged as a well-known 1965 recording of that length was matched at 100.0% in singleton mode and stored with the genuine recording ID — evidence for the metadata path only, since beets matched tags and duration and never heard the tone (t10).
  • beet update against an externally edited file: the genres change was detected and reported, twice, but not stored in 2.14.1; beet modify set it in database and file, after which update fell silent (t11). The same transcript shows update's modification-time detection being made reliable with an explicit timestamp touch.

Documented only — described from the project's documentation, not run, and the text does not claim otherwise:

  • Album-level autotagging sessions: several candidates, distance penalties, per-track argument. The lab's albums are invented and have no MusicBrainz entries, and its one real match was a singleton; chapter 7 teaches the session from the documentation and says so.
  • The remote fetchart sources (Cover Art Archive, Amazon, iTunes, and others), the chroma fingerprinting plugin, and every other plugin beyond duplicates, info, fetchart, embedart, and web.
  • The neighbour tools of chapter 11 (Picard, the desktop library managers) — characterised, not run. The servers named there are covered by their own guides in this series.
  • Ripping, downloading, and playback: beets does none of these, and the lab did not pretend otherwise.

Fixtures are this guide's own and deliberately generic: invented artists, albums and track titles throughout, one deliberately misspelled. The single exception is the autotagging fixture, whose tags name a real, public recording so the match could be exercised against the real MusicBrainz; the audio under those tags is a generated tone, and the chapter built on it is explicit that the match proves the metadata path and nothing about the sound.