mirror of
https://github.com/beetbox/beets.git
synced 2026-01-09 09:22:55 +01:00
Reverse [78a4026a2c].
If a file already has a track id, we should expect the best match album to have a track with the same ID. Treat a missing ID the same as an incorrect ID.
This commit is contained in:
parent
f5557a74d7
commit
1ad5d9eee1
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ def track_distance(item, track_info, incl_artist=False):
|
|||
dist_max += TRACK_INDEX_WEIGHT
|
||||
|
||||
# MusicBrainz track ID.
|
||||
if item.mb_trackid and track_info.track_id:
|
||||
if item.mb_trackid:
|
||||
if item.mb_trackid != track_info.track_id:
|
||||
dist += TRACK_ID_WEIGHT
|
||||
dist_max += TRACK_ID_WEIGHT
|
||||
|
|
|
|||
Loading…
Reference in a new issue