Hello,
I know that to restart kodi from ssh, you have to use following command :
systemctl restart kodi
I would like to be able to trigger such a command from kodi but I did not manage to do it.
1st Try : Trigger a pyton script from /storage/.kodi/userdata/keymaps/remote.xml
Python script :
import xbmc, xbmcgui
xbmc.executebuiltin('System.Exec(systemctl restart kodi)')
=> It does not work
2nd Try : Trigger a .sh script from /storage/.kodi/userdata/keymaps/remote.xml
And .sh file is :
systemctl restart kodi
It does not work neither.
Does anyone know how to make it work?