mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
fix: dont deduplicate matches if musicbrainz ID is not set for album candidates
This commit is contained in:
parent
5f45e9e108
commit
8e40473453
1 changed files with 2 additions and 2 deletions
|
|
@ -357,8 +357,8 @@ def _add_candidate(items, results, info):
|
|||
log.debug('No tracks.')
|
||||
return
|
||||
|
||||
# Don't duplicate.
|
||||
if info.album_id in results:
|
||||
# Prevent duplicates
|
||||
if info.album_id and info.album_id in results:
|
||||
log.debug('Duplicate.')
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue