diff options
author | topfs2 <topfs2@svn> | 2010-05-06 23:16:19 +0000 |
---|---|---|
committer | topfs2 <topfs2@svn> | 2010-05-06 23:16:19 +0000 |
commit | ac8f15997a4e2f16df66107ef8bbfd76bed451f9 (patch) | |
tree | d8411e7e219a5227b72cba50e71adc1736177be0 /web/poc_jsonrpc | |
parent | b7c09c94080a4e505985ec8f9f4d0bb122c03567 (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.html | 2 |
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}'); |