mirror of
https://github.com/beetbox/beets.git
synced 2026-01-09 01:15:38 +01:00
media comparison: lower-case both sides
This commit is contained in:
parent
e04cb6f548
commit
90873af0be
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ def distance(items, album_info, mapping):
|
|||
if album_info.media:
|
||||
compare_media = likelies['media'] or \
|
||||
config['match']['preferred_media'].get()
|
||||
if compare_media and compare_media != album_info.media:
|
||||
if compare_media and compare_media.lower() != album_info.media.lower():
|
||||
dist += weights['media'].as_number()
|
||||
dist_max += weights['media'].as_number()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue