Revision: 29074
http://xbmc.svn.sourceforge.net/xbmc/?rev=29074&view=rev
Author: topfs2
Date: 2010-04-06 17:03:49 +0000 (Tue, 06 Apr 2010)
Log Message:
-----------
Moved webinterface nowplaying to use the new ActivePlaylist stuff
Modified Paths:
--------------
trunk/web/poc_jsonrpc/nowplaying.html
Modified: trunk/web/poc_jsonrpc/nowplaying.html
===================================================================
--- trunk/web/poc_jsonrpc/nowplaying.html 2010-04-06 17:02:52 UTC (rev 29073)
+++ trunk/web/poc_jsonrpc/nowplaying.html 2010-04-06 17:03:49 UTC (rev 29074)
@@ -42,7 +42,7 @@
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"];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|