fix recommendation with MBID-based match

This commit is contained in:
Adrian Sampson 2010-09-28 20:09:04 -07:00
parent c00dce80e8
commit 22f8a5acf9

View file

@ -482,7 +482,7 @@ def tag_album(items, search_artist=None, search_album=None):
# If we have a very good MBID match, return immediately.
# Otherwise, this match will compete against metadata-based
# matches.
rec = recommendation(out_tuples)
rec = recommendation(out_tuples.values())
if rec == RECOMMEND_STRONG:
log.debug('ID match.')
return cur_artist, cur_album, out_tuples.values(), rec