Kodi Community Forum

Full Version: Shutdown command while using suspend as well
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am running XBMC Live off a USB drive with a Harmony 880 remote and a IR dongle. In the system preferences, I set shutdown to suspend and this works great. However, the problem is whenever I really DO want to shutdown (say I am going out of town), I can't. This is expected behavior but I was wondering if there is a way to add a menu item (to Rapier) or a remote button to my Harmony that will do a true shutdown while maintaining the suspend capabilities of the (remote) power button.

Thanks.
I leave the setting in XBMC set to Shutdown and edit what the Power button on the remote does in remote.xml. I change:

<power>XBMC.ShutDown()</power>

to

<power>XBMC.Suspend()</power>

I just typed that from memory so you should look up the correct syntax in the wiki. But that allows me to press the power button on my remote to suspend/resume the box and choose shutdown in the power menu to actually shutdown the box.