Modified getArtwork to return a relative path to the cached image

This commit is contained in:
rembo10
2012-06-22 17:21:44 +05:30
parent 9866f8b4ea
commit fe472ecd08
+1 -1
View File
@@ -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://" + urllib.quote(artwork_path) return "cache" + artwork_path[len(headphones.CACHE_DIR):]
def getInfo(ArtistID=None, AlbumID=None): def getInfo(ArtistID=None, AlbumID=None):