Repository navigation
Releases
v0.2.3
v0.2.2
Fixes
-
sacd-migrate --mount DIRmoves albums catalogued on a sacdfs 0.4.0 mount to the names
sacdfs 0.4.1 shows (NN.dsftoNN - Track NN.dsffor a track with no title), sobeet update
no longer removes their items after the mount is upgraded (#57). Without--applyit only
reports. An item moves only when its old file is gone and the new name is the one file the
mount shows for that track number; it keeps its id, added date and every other field. Nothing
on the mount is touched and no item is removed. The upgrade order is in the README ("Upgrading
the mount from sacdfs 0.4.0 to 0.4.1"). Tested on a throwaway library with directories laid
out like each version's names, on the oldest and newest beets; not yet against a real mount.
Measured on such a library:beet updateafter the upgrade removed all 3 items of a
catalogued album, and cataloguing it again gave new items without the fields set by hand; with
this change, the items keep those fields. -
Tag fields set by hand on catalogued items (genre, year, title, ...) are no longer replaced by
the mounted file's tags at the nextbeet update(#68). The mount is read-only, so beets
couldn't write the edit to the file and left the item's mtime at 0;--cataloguenever set
it either. Catalogued items now record their file's mtime when they are catalogued and when a
tag field is set, sobeet updatereads a file again only when its mtime changes on the mount
(a changed ISO, an sacdfs upgrade that changes the files, a new tags file). Catalogued items
also get the file's sample rate, bit depth and bit rate.sacd-migrate --mount DIRreports
catalogued items with no recorded mtime and with--applyrecords it, changing no other field;
items it moves to sacdfs 0.4.1 names get the new file's mtime. Tested on a throwaway library
with DSF files from pysacd standing in for the mount, on the oldest and newest beets; CI checks
on a real sacdfs main mount that a track's mtime stays the same across remounts.
Build and release
- The release workflow refuses a
v*tag that isn'tvplus the package version, or whose commit
isn't onmainor arelease/*branch, before anything is built or published (#65). - CI's Linux jobs run in Red Hat-derived containers: lint, the Linux test legs, fuzzing and the live
MusicBrainz check and the release build in Fedora 44, semgrep, zizmor and the privacy check in UBI 10, with semgrep and
zizmor installed from PyPI by hash instead of their vendors' images. CI only; the plugin is unchanged. (#58)
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.
v0.2.0
v0.1.2
- When pysacd's MusicBrainz match isn't used, or there is none, beets now prefers an
SACD edition over the same album's CD edition, for the plugin's own imports only:
an SACD pattern goes first inmatch.preferred.mediaduring their lookup, and your
own setting is restored afterwards (#9, #17).
No security fixes.
Full changelog: https://github.com/aclater/beets-pysacd/blob/main/CHANGELOG.md
v0.1.1
pauses: yes(orsacd-import --pauses) includes the pauses between tracks, cutting
them aspysacd-extract -bdoes, so a library extracted with pauses gets identical
tracks. Needs pysacd 0.2.1 (#10, #13).- README: installing next to a distribution-packaged
beet, such as Fedora's, which
can't see packages pip installs into~/.localor/usr/local(#11, #12).
No security fixes.
Full changelog: https://github.com/aclater/beets-pysacd/blob/main/CHANGELOG.md
v0.1.0
First release.
beet sacd-importconverts each SACD area (stereo, multichannel or both) with pysacd
to DSF or FLAC and imports it as an album; plainbeet importdoes the same for ISOs
it finds (auto).beet sacd-infoprints a disc's TOC.- Hybrid SACDs: each area is imported onto its own medium of the MusicBrainz release,
not the CD layer beets would otherwise choose. - A match on another format's edition (vinyl, CD, digital) isn't used; a match on a
hybrid's CD layer keeps the release and takes its SACD layer (#7, #8). - DVD-Audio, DVD-Video and Blu-ray images are identified and catalogued, never
converted (#5, #6). - ISO images are kept unless
remove_iso: yes, and then removed only after every area's
import is verified. - Supports beets 2.12 and later, Python 3.11 to 3.14, on Linux, macOS and Windows.
Full changelog: https://github.com/aclater/beets-pysacd/blob/main/CHANGELOG.md