diff options
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}'); |