diff --git a/beets/autotag/match.py b/beets/autotag/match.py index d352a013f..3061aa39b 100644 --- a/beets/autotag/match.py +++ b/beets/autotag/match.py @@ -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