2012-06-13, 23:44
I am using the XBMC official remote app on android. Everything works great except for the power off function. I have XBMC installed on a distro called openELEC which requires a command 'poweroff' to turn off.
I have managed to get the Poweroff command to work from the menu in XBMC to turn off the system. I followed instruction from a forum where I edited a couple of lines of code so that when the shutdown or reboot options were selected, it ran the commands that were compatible with openELEC. That works fine. I would now like to make the same changes so the Poweroff button on the remote works.
I have had a look around the XBMC folder but I can not find how the commands are received and interpereted from the remote. Can anyone point me in the right direction please?
I have managed to get the Poweroff command to work from the menu in XBMC to turn off the system. I followed instruction from a forum where I edited a couple of lines of code so that when the shutdown or reboot options were selected, it ran the commands that were compatible with openELEC. That works fine. I would now like to make the same changes so the Poweroff button on the remote works.
I have had a look around the XBMC folder but I can not find how the commands are received and interpereted from the remote. Can anyone point me in the right direction please?