mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-21 08:24:00 +01:00
Return properly formatted local image path
This commit is contained in:
+1
-1
@@ -345,7 +345,7 @@ def getArtwork(ArtistID=None, AlbumID=None):
|
|||||||
if artwork_path.startswith('http://'):
|
if artwork_path.startswith('http://'):
|
||||||
return artwork_path
|
return artwork_path
|
||||||
else:
|
else:
|
||||||
return "file:///" + artwork_path
|
return "file://" + urllib.quote(artwork_path)
|
||||||
|
|
||||||
def getInfo(ArtistID=None, AlbumID=None):
|
def getInfo(ArtistID=None, AlbumID=None):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user