diff options
author | montellese <montellese@xbmc.org> | 2011-10-07 23:29:59 +0200 |
---|---|---|
committer | montellese <montellese@xbmc.org> | 2011-10-08 12:00:03 +0200 |
commit | 845288d417d40dea22f6dd71ceba30b4587f9999 (patch) | |
tree | 4c05f0e9e01de90883d9a4b6210cbf7efd909b44 /addons/webinterface.default/js/MediaLibrary.js | |
parent | e3301732fdda09ef470aac9640c95a656fff1959 (diff) |
jsonrpc: rename "value" parameter of Application.SetVolume to "volume"
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 18befec115..90d2e73d11 100755 --- a/addons/webinterface.default/js/MediaLibrary.js +++ b/addons/webinterface.default/js/MediaLibrary.js @@ -179,7 +179,7 @@ MediaLibrary.prototype = { case 'volumeup': jQuery.post(JSON_RPC + '?SendRemoteKey', '{"jsonrpc": "2.0", "method": "Application.GetProperties", "params": { "properties": [ "volume" ] }, "id": 1}', function(data){ var volume = data.result.volume + 1; - jQuery.post(JSON_RPC + '?SendRemoteKey', '{"jsonrpc": "2.0", "method": "Application.SetVolume", "params": { "value": '+volume+' }, "id": 1}', function(data){ + jQuery.post(JSON_RPC + '?SendRemoteKey', '{"jsonrpc": "2.0", "method": "Application.SetVolume", "params": { "volume": '+volume+' }, "id": 1}', function(data){ $('#spinner').hide(); }, 'json'); @@ -188,7 +188,7 @@ MediaLibrary.prototype = { case 'volumedown': jQuery.post(JSON_RPC + '?SendRemoteKey', '{"jsonrpc": "2.0", "method": "Application.GetProperties", "params": { "properties": [ "volume" ] }, "id": 1}', function(data){ var volume = data.result.volume - 1; - jQuery.post(JSON_RPC + '?SendRemoteKey', '{"jsonrpc": "2.0", "method": "Application.SetVolume", "params": { "value": '+volume+' }, "id": 1}', function(data){ + jQuery.post(JSON_RPC + '?SendRemoteKey', '{"jsonrpc": "2.0", "method": "Application.SetVolume", "params": { "volume": '+volume+' }, "id": 1}', function(data){ $('#spinner').hide(); }, 'json'); |