Repository navigation
nightly-a264a76c-ls19
Pre-releaseCI
LinuxServer changes
Full Changelog: nightly-cf0983a3-ls18...nightly-a264a76c-ls19
Upstream changes
Source: beetbox/beets@a264a76
Match tracks by release track ID too (#7123)
Description
Hybrid SACD releases on MusicBrainz list the CD layer and the SACD
layer(s) as separate
media whose tracks share recordings; only the release track IDs differ.
track_distance()
compares recording IDs but not release track IDs, so files from the SACD
layer score the
same against both layers. The medium-number check then puts them on
medium 1 (the CD
layer), and the import overwrites their mb_releasetrackid with the CD
layer's. Seen on
2.14.1 with
https://musicbrainz.org/release/f9b87aa8-a7cf-45e3-b760-a629ec751f62.
This compares mb_releasetrackid with the track's release_track_id,
under the existing
track_id weight, when both are known. Items without the tag and
non-MusicBrainz sources
are unaffected. Background in discussion #6614.
AI disclosure: the change was drafted with an AI coding assistant. I've
reviewed and tested
it, and can answer questions about it.
To Do
-
Documentation(no user-facing option changes) - Changelog.
- Tests.