Map settings to key input
#1
I've tried to map setting "Allow XBMC to receive AirPlay content" in keyboard.xml but it doesn't seem possible.

Below commands don't work.
<k>Skin.ToggleSetting(services.airplay)</k>
<k>ActivateWindow(services.airplay)</k>
<k>XBMC.ActivateWindowAndFocus(10018, 3,6)</k> (@Elusien: thanks)

Please add possibility to map a key to a specific setting.
Reply
#2
Anyone?
Reply
#3
As far as I know, very few, if any, settings are mappable to a button. At least the last time I looked, that was the case. Not sure, since the last settings revamp.
Reply
#4
Thanks Ned.

Since this feature doesn't exist, could it be added?
Reply
#5
I think that's a long term goal. At least I hope it is, because I would like this as well :)
Reply
#6
Do I need to make a Trac ticket for this?
Reply
#7
Does anyone know if this is now possible in Kodi?
Reply
#8
It doesn't work directly yet, but there is an alternative work-around using scripts: http://forum.xbmc.org/showthread.php?tid=199579
Reply
#9
It should be possible in Gotham I believe.

All settings can be accessed via JSON-RPC, so I guess you'd need a button mapped to activate a script containing the JSON-RPC commands. Don't ask me how exactly it can be done as that's beyond my knowledge level.
Reply
#10
Thanks for your quick replies. I'll look into the Jason-RPC script.
Reply

Logout Mark Read Team Forum Stats Members Help
Map settings to key input0