diff options
Diffstat (limited to 'addons/webinterface.default/js/MediaLibrary.js')
-rwxr-xr-x | addons/webinterface.default/js/MediaLibrary.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/webinterface.default/js/MediaLibrary.js b/addons/webinterface.default/js/MediaLibrary.js index e76120c155..3a5271fcf8 100755 --- a/addons/webinterface.default/js/MediaLibrary.js +++ b/addons/webinterface.default/js/MediaLibrary.js @@ -370,7 +370,7 @@ MediaLibrary.prototype = { type: 'POST', contentType: 'application/json', url: JSON_RPC + '?SendRemoteKey', - data: '{"jsonrpc": "2.0", "method": "Player.GoNext", "params": { "playerid": ' + player + ' }, "id": 1}', + data: '{"jsonrpc": "2.0", "method": "Player.GoTo", "params": { "playerid": ' + player + ', "to": "next" }, "id": 1}', success: jQuery.proxy(function(data) { $('#spinner').hide(); }, this), @@ -381,7 +381,7 @@ MediaLibrary.prototype = { type: 'POST', contentType: 'application/json', url: JSON_RPC + '?SendRemoteKey', - data: '{"jsonrpc": "2.0", "method": "Player.GoPrevious", "params": { "playerid": ' + player + ' }, "id": 1}', + data: '{"jsonrpc": "2.0", "method": "Player.GoTo", "params": { "playerid": ' + player + ', "to": "previous" }, "id": 1}', success: jQuery.proxy(function(data) { $('#spinner').hide(); }, this), |