aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authortopfs2 <topfs2@svn>2010-05-06 23:13:13 +0000
committertopfs2 <topfs2@svn>2010-05-06 23:13:13 +0000
commit68927fc35225ff75789a58ea88a31fb72c6b28fc (patch)
tree0668fe0968857bcae0ddc85751907da954d00541 /web
parent3dedd4ab97b85a490d5c2bcd9d07be71db1379ff (diff)
Renamed MusicLibrary to AudioLibrary
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29856 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'web')
-rw-r--r--web/poc_jsonrpc/albums.html2
-rw-r--r--web/poc_jsonrpc/artists.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/web/poc_jsonrpc/albums.html b/web/poc_jsonrpc/albums.html
index edfc36cadd..6bc856156c 100644
--- a/web/poc_jsonrpc/albums.html
+++ b/web/poc_jsonrpc/albums.html
@@ -35,7 +35,7 @@ function CallPlay(album) {
<script type="text/javascript">
var http_request = new XMLHttpRequest();
http_request.open( "POST", "jsonrpc", false );
-http_request.send('{"jsonrpc": "2.0", "method": "MusicLibrary.GetAlbums", "id": 1}');
+http_request.send('{"jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums", "id": 1}');
var the_object = JSON.parse(http_request.responseText);
var result = the_object["result"];
diff --git a/web/poc_jsonrpc/artists.html b/web/poc_jsonrpc/artists.html
index d7b545d531..5ae0e189e7 100644
--- a/web/poc_jsonrpc/artists.html
+++ b/web/poc_jsonrpc/artists.html
@@ -15,7 +15,7 @@ function writeArtist(artist) {
var http_request = new XMLHttpRequest();
http_request.open( "POST", "jsonrpc", false );
- http_request.send('{"jsonrpc": "2.0", "method": "MusicLibrary.GetAlbums", "params": { "artistid": ' + artist["artistid"] + ' }, "id": 1}');
+ http_request.send('{"jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums", "params": { "artistid": ' + artist["artistid"] + ' }, "id": 1}');
var the_object = JSON.parse(http_request.responseText);
var result = the_object["result"];
@@ -55,7 +55,7 @@ function writeArtist(artist) {
<script type="text/javascript">
var http_request = new XMLHttpRequest();
http_request.open( "POST", "jsonrpc", false );
-http_request.send('{"jsonrpc": "2.0", "method": "MusicLibrary.GetArtists", "id": 1}');
+http_request.send('{"jsonrpc": "2.0", "method": "AudioLibrary.GetArtists", "id": 1}');
var the_object = JSON.parse(http_request.responseText);
var result = the_object["result"];