Hi,
Being using IR remote with libreelec for ages, trying to "move" to a Bluetooth universal remote.
While using the IR remote i used irexec as daemon with a simple config file to map the "red" key to execute a forced kill of Kodi :
This allows me to restart Kodi by a single click of remote button for those rare cases Kodi just hung.
Now , my new Bluetooth remote does not use IR and thus i looking for other solution.
Tried the option to use Kodi internal keymap and calling a python script :
<keymap>
<global>
<keyboard>
<F3>RunScript(/storage/.config/killkodi.py)</F3>
</keyboard>
</global>
</keymap>
This does actually works fine , But on hard cases when Kodi just hung it is not working (which makes sense since Kodi stops responding).
So i am looking for internal option in libreelec to map a keyboard key to execute a shell command.
Any pointers would be appreciated.