diff options
author | topfs2 <topfs2@svn> | 2010-04-06 17:00:43 +0000 |
---|---|---|
committer | topfs2 <topfs2@svn> | 2010-04-06 17:00:43 +0000 |
commit | 10c0f8f83709e6e8969554a4d7bec69fa13bb5b5 (patch) | |
tree | a27769ab3a91a58b234e60f9a99d293ee1e35d36 /web | |
parent | 978a047941c6964f083b4abd67e1ea90afd33bb4 (diff) |
Files.GetShares should be Files.GetSources to be consistent with rest of XBMC
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29071 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'web')
-rw-r--r-- | web/poc_jsonrpc/musicfiles.html | 2 | ||||
-rw-r--r-- | web/poc_jsonrpc/videofiles.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/poc_jsonrpc/musicfiles.html b/web/poc_jsonrpc/musicfiles.html index 13bf01dcba..96478ec31e 100644 --- a/web/poc_jsonrpc/musicfiles.html +++ b/web/poc_jsonrpc/musicfiles.html @@ -44,7 +44,7 @@ http_request.open( "POST", "jsonrpc", false ); if (directory) http_request.send("{\"jsonrpc\": \"2.0\", \"method\": \"Files.GetDirectory\", \"params\": { \"type\": \"music\", \"directory\": \"" + Url.decode(directory) + "\", \"sortmethod\": \"label\", \"sortorder\": \"ascending\" }, \"id\": 1}"); else - http_request.send("{\"jsonrpc\": \"2.0\", \"method\": \"Files.GetShares\", \"params\": { \"type\": \"music\" }, \"id\": 1}"); + http_request.send("{\"jsonrpc\": \"2.0\", \"method\": \"Files.GetSources\", \"params\": { \"type\": \"music\" }, \"id\": 1}"); var the_object = JSON.parse(http_request.responseText); diff --git a/web/poc_jsonrpc/videofiles.html b/web/poc_jsonrpc/videofiles.html index 3f83b92e3b..d5d4a37c7d 100644 --- a/web/poc_jsonrpc/videofiles.html +++ b/web/poc_jsonrpc/videofiles.html @@ -44,7 +44,7 @@ http_request.open( "POST", "jsonrpc", false ); if (directory) http_request.send("{\"jsonrpc\": \"2.0\", \"method\": \"Files.GetDirectory\", \"params\": { \"type\": \"video\", \"directory\": \"" + Url.decode(directory) + "\" }, \"id\": 1}"); else - http_request.send("{\"jsonrpc\": \"2.0\", \"method\": \"Files.GetShares\", \"params\": { \"type\": \"video\" }, \"id\": 1}"); + http_request.send("{\"jsonrpc\": \"2.0\", \"method\": \"Files.GetSources\", \"params\": { \"type\": \"video\" }, \"id\": 1}"); var the_object = JSON.parse(http_request.responseText); |