Repository navigation
v0.2.1
A security release for users of remove_iso (off by default). If you use remove_iso: yes or
--remove-iso, upgrade. Found in a private review asked for by the maintainer. Checked by hand
before release, since CI doesn't run on private fixes: ruff, mypy and the test suite on the newest
and the oldest supported beets (2.14.1 and 2.12.0; Python 3.13, pysacd 0.5.0, in a Fedora 44
container): 122 passed, the 3 expected skips.
Security
- Advisory GHSA-mjx6-hpg7-mjqj (medium; only with
remove_iso: yesor--remove-iso, which are
off by default): an image whose areas were all already in the library was deleted without any
check of its own audio. "Already in the library" is decided by the disc fingerprint, which is the
TOCs and the image size, not the audio, so a good rip could be deleted as a duplicate of a damaged
one imported earlier, or of another image with the same TOC and size, and the library kept the
first one's audio. Now an image is removed only when every selected area was imported from it in
that run and verified; an image with an area already in the library is kept, and the log names
that area. An area whose conversion fails also keeps the image. Each image is now verified by the
album made from that image, not by any album with its fingerprint: when two images with one
fingerprint are imported together, beets imports one and skips the other as a duplicate, and the
skipped one is kept. Upgrade to 0.2.1.
Other changes
sacdfs_pathnow follows sacdfs 0.4.1's file names, so it matches a mount for a disc whose tracks have
no title (NN - Track NN.dsf; control characters and long titles are handled as sacdfs does) (#55).
Before,sacd-migrate --catalogue --mountrecordedNN.dsffor such discs: the catalogued items
pointed at files an 0.4.1 mount does not have, andbeet updatethen removed them from the library
(12 of 12 on one disc). With--catalogue --mount, a mount that shows onlyNN.dsf(sacdfs 0.4.0)
still gets that name. Catalogued titles without a disc title are nowTrack NN, as sacdfs tags them.
Albums already catalogued by 0.2.0 on a no-text disc keep their old paths; this change does not rewrite them.
Tested with sacdfs's own naming cases and against a real no-text disc on both sacdfs versions.- CI tests on Python 3.15 ahead of beets' own support (#50). Not claimed as supported: beets doesn't
yet install on 3.15 without--ignore-requires-python. See the README. - CI names every skipped test and fails if a skip is new, has stopped or has a different reason
(tests/expected-skips.json), so a test job can't go quiet the way pysacd's comparison did (#51).
The three skips today: the live MusicBrainz test, the fuzz-regression replay (no regression files
yet) and the sacdfs mount test, which has its own job.