diff options
author | montellese <montellese@xbmc.org> | 2011-10-07 23:55:32 +0200 |
---|---|---|
committer | montellese <montellese@xbmc.org> | 2011-10-08 12:00:03 +0200 |
commit | c2d1e992fdd64f380d6720e9b28ffab7aba07ea2 (patch) | |
tree | eaf3339c38a89142eb49e1c1dfa38d74ec10d673 /addons/webinterface.default/js | |
parent | 845288d417d40dea22f6dd71ceba30b4587f9999 (diff) |
jsonrpc: refactor Application.ToggleMute into Application.SetMute
Diffstat (limited to 'addons/webinterface.default/js')
-rwxr-xr-x | addons/webinterface.default/js/MediaLibrary.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/webinterface.default/js/MediaLibrary.js b/addons/webinterface.default/js/MediaLibrary.js index 90d2e73d11..81ba4fa0aa 100755 --- a/addons/webinterface.default/js/MediaLibrary.js +++ b/addons/webinterface.default/js/MediaLibrary.js @@ -171,7 +171,7 @@ MediaLibrary.prototype = { jQuery.post(JSON_RPC + '?SendRemoteKey', '{"jsonrpc": "2.0", "method": "Input.Home", "id": 1}', function(data){$('#spinner').hide();}, 'json'); return; case 'mute': - jQuery.post(JSON_RPC + '?SendRemoteKey', '{"jsonrpc": "2.0", "method": "Application.ToggleMute", "id": 1}', function(data){$('#spinner').hide();}, 'json'); + jQuery.post(JSON_RPC + '?SendRemoteKey', '{"jsonrpc": "2.0", "method": "Application.SetMute", "params": { "mute": "toggle" }, "id": 1}', function(data){$('#spinner').hide();}, 'json'); return; case 'power': jQuery.post(JSON_RPC + '?SendRemoteKey', '{"jsonrpc": "2.0", "method": "System.Shutdown", "id": 1}', function(data){$('#spinner').hide();}, 'json'); |