aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authortopfs2 <topfs2@svn>2010-04-06 17:03:49 +0000
committertopfs2 <topfs2@svn>2010-04-06 17:03:49 +0000
commitc400293b0d0f1aff70d8cd2186f9fb303645b111 (patch)
treec48f59e010b7b65ed9b78c05403f18a9e9e39f60 /web
parent94f775684790a20f564304bd5e2fad29aa2592e6 (diff)
Moved webinterface nowplaying to use the new ActivePlaylist stuff
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29074 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'web')
-rw-r--r--web/poc_jsonrpc/nowplaying.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/poc_jsonrpc/nowplaying.html b/web/poc_jsonrpc/nowplaying.html
index e2f787e9ae..6e91f8dea6 100644
--- a/web/poc_jsonrpc/nowplaying.html
+++ b/web/poc_jsonrpc/nowplaying.html
@@ -42,7 +42,7 @@ if (players.length > 0) {
http_request = new XMLHttpRequest();
http_request.open( "POST", "jsonrpc", false );
- http_request.send("{\"jsonrpc\": \"2.0\", \"method\": \"Playlist.GetItems\", \"params\": { \"fields\": [\"title\", \"plot\"] }, \"id\": 1}");
+ http_request.send("{\"jsonrpc\": \"2.0\", \"method\": \"" + player + "Playlist.GetItems\", \"params\": { \"fields\": [\"title\", \"plot\"] }, \"id\": 1}");
var the_object = JSON.parse(http_request.responseText);
var result = the_object["result"];