Activate screen saver from HTTP API - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Activate screen saver from HTTP API (/showthread.php?tid=367274) |
Activate screen saver from HTTP API - mclarkdev - 2022-03-02 I run Kodi on a number of TVs in my home and have a basic touch-screen application built to control them. One function I would like to add is the ability to turn off the TV using a single command. Using the Pellucid skin, I have added a custom menu item to my main menu which does this by activating the screensaver, thus turning off the TV over CEC. In the Skin customization, I can select 'Kodi Command' -> 'Screensaver' But I have not yet figured out how to activate the screensaver from an HTTP command. Any thoughts on how one can do this? RE: Activate screen saver from HTTP API - Klojum - 2022-03-02 Have a look here: https://forum.kodi.tv/showthread.php?tid=354784 RE: Activate screen saver from HTTP API - mclarkdev - 2022-03-02 I did see that thread before posting, it's similar but not quite what I am looking for, this post is how one can change the plugin being used for the screensaver. I am trying to activate the selected screen saver, on demand. Like clicking the 'preview' button would do in that menu. RE: Activate screen saver from HTTP API - mclarkdev - 2022-03-03 Any other ideas? RE: Activate screen saver from HTTP API - mclarkdev - 2022-03-11 Bump? Any ideas on this? I am looking for an easy way to turn on/off my TV via CEC - and this seems like the best way to do it via Kodi, but need to know how I can call this command from the API. |