aboutsummaryrefslogtreecommitdiff
path: root/web/poc_jsonrpc
diff options
context:
space:
mode:
authortopfs2 <topfs2@svn>2010-05-06 23:16:19 +0000
committertopfs2 <topfs2@svn>2010-05-06 23:16:19 +0000
commitac8f15997a4e2f16df66107ef8bbfd76bed451f9 (patch)
treed8411e7e219a5227b72cba50e71adc1736177be0 /web/poc_jsonrpc
parentb7c09c94080a4e505985ec8f9f4d0bb122c03567 (diff)
Fixed - Folders need to be sorted in the videofiles.html
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29864 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'web/poc_jsonrpc')
-rw-r--r--web/poc_jsonrpc/videofiles.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/poc_jsonrpc/videofiles.html b/web/poc_jsonrpc/videofiles.html
index 256c42bd69..5087d913b8 100644
--- a/web/poc_jsonrpc/videofiles.html
+++ b/web/poc_jsonrpc/videofiles.html
@@ -42,7 +42,7 @@ var http_request = new XMLHttpRequest();
http_request.open( "POST", "jsonrpc", false );
if (directory)
- http_request.send('{"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": { "media": "video", "directory": "' + unescape(directory) + '" }, "id": 1}');
+ http_request.send('{"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": { "media": "video", "directory": "' + unescape(directory) + '", "sortmethod": "label", "sortorder": "ascending" }, "id": 1}');
else
http_request.send('{"jsonrpc": "2.0", "method": "Files.GetSources", "params": { "media": "video" }, "id": 1}');