Process Up/Down during Screensaver
#1
Hey there,

I'm trying to modify a screensaver so that it goes back/forward one image when
python:
Action(Up)
or
python:
Action(Down)
is called.

How can I achieve that? Right now I don't know how to process a call to this function in my code.

Thanks
Nils
Reply
#2
Thread moved to OS independent
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#3
Most screen blankers poll the input devices for any input to dis-engage, likely you would have to write your code to not only observe the key input rule you set-up, but write or modify your blanker. An investigation of past blankers might be a good starting point, some have open source.
Reply
#4
I'm now using a 3rd party GPIO addon which works really well to call functions when a button is pressed.
I have also downloaded an open source screensaver made by the Kodi team and started to modify it.

Now I need to call a function within my screensaver addon with the GPIO addon, so how do I make my functions available globally?
Reply

Logout Mark Read Team Forum Stats Members Help
Process Up/Down during Screensaver0