Release Turn Off screensaver
#46
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...
Reply
#47
(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
Reply
#48
Thanks. It did work out.
I wonder why "CECToggleState" turns my Samsung TV off, but doesn't turn it on..
Reply
#49
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?
Reply

Logout Mark Read Team Forum Stats Members Help
Turn Off screensaver0