mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 19:42:42 +01:00
Strip and lowercase Genius lyrics artist comparison
This commit is contained in:
parent
60bba370c0
commit
d43cf35ad2
1 changed files with 1 additions and 1 deletions
|
|
@ -395,7 +395,7 @@ class Genius(Backend):
|
|||
|
||||
song_info = None
|
||||
for hit in json["response"]["hits"]:
|
||||
if hit["result"]["primary_artist"]["name"] == artist:
|
||||
if hit["result"]["primary_artist"]["name"].strip(u'\u200b').lower() == artist.lower():
|
||||
song_info = hit
|
||||
break
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue