aboutsummaryrefslogtreecommitdiff
path: root/addons/webinterface.default/js/MediaLibrary.js
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2012-05-12 16:21:35 +0200
committerJonathan Marshall <jmarshall@never.you.mind>2012-05-13 22:22:10 +1200
commit805ab67a2d9c50c61e225ecb7a765ea820c0d8d8 (patch)
treebd2858c5b97abad1d78e64df0ba703d06338625e /addons/webinterface.default/js/MediaLibrary.js
parenta50296812b7b34cfc5fe8fa6c78b6c390dd2dc55 (diff)
[webinterface.default] make sure to URL-encode any image-paths returned by JSON-RPC when calling http://<ip>:<port>/vfs/
Diffstat (limited to 'addons/webinterface.default/js/MediaLibrary.js')
-rwxr-xr-xaddons/webinterface.default/js/MediaLibrary.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/webinterface.default/js/MediaLibrary.js b/addons/webinterface.default/js/MediaLibrary.js
index 1033cc71bc..64b0a40e2e 100755
--- a/addons/webinterface.default/js/MediaLibrary.js
+++ b/addons/webinterface.default/js/MediaLibrary.js
@@ -454,7 +454,7 @@ MediaLibrary.prototype = {
}
},
getThumbnailPath: function(thumbnail) {
- return thumbnail ? ('/vfs/' + thumbnail) : DEFAULT_ALBUM_COVER;
+ return thumbnail ? ('/image/' + encodeURI(thumbnail)) : DEFAULT_ALBUM_COVER;
},
generateThumb: function(type, thumbnail, title, artist) {
var floatableAlbum = $('<div>');