Kodi Community Forum
Release Turn Off screensaver - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Look and feel (https://forum.kodi.tv/forumdisplay.php?fid=178)
+---- Thread: Release Turn Off screensaver (/showthread.php?tid=331076)

Pages: 1 2 3 4


RE: Turn Off screensaver - Patkino - 2023-08-21

How can I bind a key to execute screensaver (preview is working perfectly, turns of the tv and any key turns it on)?
Tried activatewindow(screensaver) in keymap, but it gives an error "Screensaver: Turn off. Unable to load addon. Unknown error"
Actually I simply need a shortcut to that "preview" button...


RE: Turn Off screensaver - izprtxqkft - 2023-08-22

(2023-08-21, 23:18)Patkino Wrote: How can I bind a key to execute screensaver (preview is working perfectly, turns of the tv and any key turns it on)?
Tried activatewindow(screensaver) in keymap, but it gives an error "Screensaver: Turn off. Unable to load addon. Unknown error"
Actually I simply need a shortcut to that "preview" button...

ActivateWindow is not the correct function to activate the screensaver, it loads windows

what you want is ActivateScreensaver()

reference - https://kodi.wiki/view/List_of_built-in_functions


RE: Turn Off screensaver - Patkino - 2023-08-22

Thanks. It did work out.
I wonder why "CECToggleState" turns my Samsung TV off, but doesn't turn it on..


RE: Turn Off screensaver - CodyLane - 2024-03-27

Is there any chance a non-technical user like myself can make use of this addon, or is this a special feature reserved for whatever raspberry pis are? 

I'm running Kodi on a fire stick - it'd most definitely be awesome if this could send the CEC shutdown signal? 

It DOES work in that it will shut down Kodi, but it doesn't seem to be sending whatever CEC signal to shut off the TV?