Keyboard.xml power down kodi command



Hi all

I have been using the suspend command In a keyboard.xml as I have the f12 key associated with it as I have a flirc which is linked to a ir remote command on a pc as I wanted the pc to be suspended. I want to be able to use my flirc with my new android box but want to add a keyboard.xml file that has the power off kodi command.

I know these commands where removed from the remotes for android boxes as they powered off the box hardware and could cause problems with kodi with corrupt files as the power off button on the remotes did not use kodi own shutdown command meaning u could corrupt.

But by using the flirc as a keyboard I can send a ir command that is assigned to the keyboard f12 key the create a keyboard.xml with the shutdown command meaning it will use kodi shutdown power down instead, shutting down Kodi correctly and then powering off the box.

Sorry for being abit long winded so the question is the command simply “shutdown” to close down kodi safely and correctly and then powers off the box so basically the same as the power menu which means no problems with kodi getting corrupt.

Thanks all

Thanks