From e2e13ef458a514c1be9c02d3a896077bee139747 Mon Sep 17 00:00:00 2001 From: jmarshallnz Date: Sun, 25 Jul 2010 02:49:14 +0000 Subject: fixed: Ticket #9724 - Additional path fixes to poc_jsonrpc, thanks to Malard. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32148 568bbfeb-2a22-0410-94d2-cc84cf5bfa90 --- web/poc_jsonrpc/albums.html | 2 +- web/poc_jsonrpc/nowplaying.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'web') diff --git a/web/poc_jsonrpc/albums.html b/web/poc_jsonrpc/albums.html index 09fd8cd7c9..2a39fb44e6 100644 --- a/web/poc_jsonrpc/albums.html +++ b/web/poc_jsonrpc/albums.html @@ -43,7 +43,7 @@ var array = result["albums"]; for (var property in array) { var item = array[property]; document.write(''); - var imgSrc = item["thumbnail"] ? ('vfs/' + escape(item["thumbnail"])) : "images/DefaultAlbumCover.png"; + var imgSrc = item["thumbnail"] ? ('/vfs/' + escape(item["thumbnail"])) : "images/DefaultAlbumCover.png"; document.write('' + item['); document.write(''); } diff --git a/web/poc_jsonrpc/nowplaying.html b/web/poc_jsonrpc/nowplaying.html index c7f6149ac0..a1a3213d07 100644 --- a/web/poc_jsonrpc/nowplaying.html +++ b/web/poc_jsonrpc/nowplaying.html @@ -59,7 +59,7 @@ if (players["video"] || players["audio"]) { var array = result["items"]; if (activeItem >= 0) { - var imgSrc = array[activeItem]["thumbnail"] ? ('vfs/' + escape(array[activeItem]["thumbnail"])) : "images/DefaultAlbumCover.png"; + var imgSrc = array[activeItem]["thumbnail"] ? ('/vfs/' + escape(array[activeItem]["thumbnail"])) : "images/DefaultAlbumCover.png"; document.write(''); document.write('

'); -- cgit v1.2.3