mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-07 20:29:34 +01:00
@@ -149,7 +149,10 @@ def getTagTopArtists(tag, limit=50):
|
||||
logger.debug("Fetched %d artists from Last.FM", len(artists))
|
||||
|
||||
for artist in artists:
|
||||
artist_mbid = artist["mbid"]
|
||||
try:
|
||||
artist_mbid = artist["mbid"]
|
||||
except KeyError:
|
||||
continue
|
||||
|
||||
if not any(artist_mbid in x for x in results):
|
||||
artistlist.append(artist_mbid)
|
||||
|
||||
Reference in New Issue
Block a user