Return properly formatted local image path

This commit is contained in:
rembo10
2012-06-22 16:25:31 +05:30
parent 2c208ea15b
commit 95cadfac93

View File

@@ -345,7 +345,7 @@ def getArtwork(ArtistID=None, AlbumID=None):
if artwork_path.startswith('http://'):
return artwork_path
else:
return "file:///" + artwork_path
return "file://" + urllib.quote(artwork_path)
def getInfo(ArtistID=None, AlbumID=None):