aboutsummaryrefslogtreecommitdiff
path: root/addons/webinterface.default/js
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2011-10-07 23:55:32 +0200
committermontellese <montellese@xbmc.org>2011-10-08 12:00:03 +0200
commitc2d1e992fdd64f380d6720e9b28ffab7aba07ea2 (patch)
treeeaf3339c38a89142eb49e1c1dfa38d74ec10d673 /addons/webinterface.default/js
parent845288d417d40dea22f6dd71ceba30b4587f9999 (diff)
jsonrpc: refactor Application.ToggleMute into Application.SetMute
Diffstat (limited to 'addons/webinterface.default/js')
-rwxr-xr-xaddons/webinterface.default/js/MediaLibrary.js2
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');