mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 11:32:30 +01:00
back out source-sensitive sorting
This is now addressed by a distance penalty.
This commit is contained in:
parent
b3646f2659
commit
4d44e11a32
1 changed files with 1 additions and 2 deletions
|
|
@ -525,8 +525,7 @@ def tag_album(items, search_artist=None, search_album=None,
|
|||
_add_candidate(items, candidates, info)
|
||||
|
||||
# Sort and get the recommendation.
|
||||
candidates = sorted(candidates.itervalues(),
|
||||
key=lambda i: (i.distance, i.info.data_source != 'MusicBrainz'))
|
||||
candidates = sorted(candidates.itervalues())
|
||||
rec = _recommendation(candidates)
|
||||
return cur_artist, cur_album, candidates, rec
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue