Kodi Community Forum
Shutdown of XBMC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: Kodi Remote for iOS Official Forum (https://forum.kodi.tv/forumdisplay.php?fid=193)
+---- Thread: Shutdown of XBMC (/showthread.php?tid=166094)



Shutdown of XBMC - juhis - 2013-05-30

Hello,

How do I control what the "Quit XBMC application" button does with iOS remote? On my infrared remote, I have this in my keyboard.xml;

<keymap>
<global>
<remote>
<power>System.ExecWait("/usr/local/bin/go_to_sleep")</power>
</remote>
</global>
</keymap>

It works with my IR remote (runs a custom suspend command), but doesn't with the iOS app. I tried adding the same action inside <keyboard></keyboard> directive as well, but that doesn't work either. How do I control, which command the "Quit XBMC application" runs?

Thanks, juhis


RE: Shutdown of XBMC - joethefox - 2013-06-04

Hi, I don't think it's possibile to control what the command "Quit XBMC application" runs, what the app is doing is to call the Application.Quit command http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v6#Application.Quit