From 95cadfac930643cd0c75f36e50aa4052bdf0e23e Mon Sep 17 00:00:00 2001 From: rembo10 Date: Fri, 22 Jun 2012 16:25:31 +0530 Subject: [PATCH] Return properly formatted local image path --- headphones/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/cache.py b/headphones/cache.py index 1144a0f7..067ac7a8 100644 --- a/headphones/cache.py +++ b/headphones/cache.py @@ -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):