mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-08 20:59:25 +01:00
A few changes to get the getArtistURL function working properly
This commit is contained in:
@@ -211,6 +211,6 @@ def getArtworkURL(id, id_type):
|
||||
c = Cache()
|
||||
artwork_path = c.get_artwork_from_cache(id, id_type)
|
||||
filename = os.path.basename(artwork_path)
|
||||
encoded_url = filename.split('.')[2:]
|
||||
encoded_url = '.'.join(filename.split('.')[2:])
|
||||
normal_url = encoded_url.replace('%%%','/').replace('_%_',':')
|
||||
return normal_url
|
||||
|
||||
Reference in New Issue
Block a user