mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-21 12:19:27 +00:00
Modified getArtwork to return a relative path to the cached image
This commit is contained in:
@@ -345,7 +345,7 @@ def getArtwork(ArtistID=None, AlbumID=None):
|
||||
if artwork_path.startswith('http://'):
|
||||
return artwork_path
|
||||
else:
|
||||
return "file://" + urllib.quote(artwork_path)
|
||||
return "cache" + artwork_path[len(headphones.CACHE_DIR):]
|
||||
|
||||
def getInfo(ArtistID=None, AlbumID=None):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user