aboutsummaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2012-06-05 00:39:06 +0200
committermontellese <montellese@xbmc.org>2012-06-05 00:39:06 +0200
commit9cc668f69a39ab44083432fa5e12f62d866ca25f (patch)
tree4186fcbae80be5ba1723ede9adb29db20e70db2a /addons
parent134b14ade4c3d21fdcffd449d27e6b10557b83e3 (diff)
webinterface.default: fix thumbnail of "Now Playing" item
Diffstat (limited to 'addons')
-rwxr-xr-xaddons/webinterface.default/js/NowPlayingManager.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/webinterface.default/js/NowPlayingManager.js b/addons/webinterface.default/js/NowPlayingManager.js
index 59192cbd20..049c5a981b 100755
--- a/addons/webinterface.default/js/NowPlayingManager.js
+++ b/addons/webinterface.default/js/NowPlayingManager.js
@@ -382,7 +382,7 @@ NowPlayingManager.prototype = {
this.lastPlaylistItem = this.activePlaylistItem;
var imgPath = DEFAULT_ALBUM_COVER;
if (this.activePlaylistItem.thumbnail) {
- imgPath = this.activePlaylistItem.thumbnail.startsWith('special://') ? ('/image/' + encodeURI(this.activePlaylistItem.thumbnail)) : ('images/' + this.activePlaylistItem.thumbnail);
+ imgPath = '/image/' + encodeURI(this.activePlaylistItem.thumbnail);
}
$('#audioCoverArt').html('<img src="' + imgPath + '" alt="' + this.activePlaylistItem.album + ' cover art">');
$('#audioTrackTitle').html('<span title="' + this.activePlaylistItem.title + '">' + this.activePlaylistItem.title + '</span>');
@@ -430,7 +430,7 @@ NowPlayingManager.prototype = {
this.lastPlaylistItem = this.activePlaylistItem;
var imgPath = DEFAULT_VIDEO_COVER;
if (this.activePlaylistItem.thumbnail) {
- imgPath = this.activePlaylistItem.thumbnail.startsWith('special://') ? ('/image/' + encodeURI(this.activePlaylistItem.thumbnail)) : ('images/' + this.activePlaylistItem.thumbnail);
+ imgPath = '/image/' + encodeURI(this.activePlaylistItem.thumbnail);
}
$('#videoCoverArt').html('<img src="' + imgPath + '" alt="' + this.activePlaylistItem.title + ' cover art">');
$('#videoShowTitle').html(this.activePlaylistItem.showtitle||'&nbsp;');