2019-12-15, 11:20
(2019-12-14, 22:22)ronie Wrote: it indeed would require an addon to handle that, so i wrote one:
script.controlscreensaver-0.0.1.zip
once installed, you can map these actions to buttons of your remote:
RunScript(script.controlscreensaver,disable)
RunScript(script.controlscreensaver,enable)
Hi
Wonder if you could provide some further help?
I have:
1. Transferred the zip file you kindly made available to the Pi
2. In Kodi gone to addons, install from Zip File and installed the addon (and got the install successfully message)
3. Edited the remote.xml file in Userdata>KeyMaps to include the following in the Global section:
<red>RunScript(script.controlscreensaver,disable)</red>
<green>RunScript(script.controlscreensaver,enable)</green>
4. Rebooted
Pressing red or green on the remote does nothing, and the screensaver still kicks in! Tried on both my Pi (running OSMC) and Windows 10 PC installs.
Am I missing something fundamental here?
Any help very gratefully received. Thanks