Does anybody know how I can deactivate my screensaver after Kodi is resumed again after a suspend?
The reason that I ask is that my Kodi screensaver is still active after being resumed.
On resume I would like to execute the buit-in function "ActivateWindow(home)" in order to deactivate the screensaver.
I created a resume script in the /storage/.config/sleep.d folder containing the command "kodi-send --action=ActivateWindow(home)", but that didnot work.
Seems that Kodi is not active yet when the resume script gets executed. When I execute the command manually in a Putty window then the command works fine.
Another solution might be to use the addon "Kodi Callbacks", but then I need to know which event I can use to trigger the command?
Any help / suggestions are very much appreciated.