This weekend our forum will be unavailable for a few hours due to maintenance.

Release Turn Off screensaver
#18
I  currently use Android Power Options screensaver add-on which turns my android box off after 10 minutes of inactivity. The add-on does not work with Kodi v19 so while looking for an alternative I came across Turn Off screensaver. Using Turn Off, I have set Display method to Do nothing and set Power method to Android Power key event (using input) but the kodi log shows an error when Turn Off runs and the box stays on.

The kodi log file shows :-
2020-12-31 17:13:22.079 T:17546   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndexError'>
                                            Error Contents: list index out of range
                                            Traceback (most recent call last):
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/screensaver.turnoff/screensaver.py", line 259, in onInit
                                                self.power = POWER_METHODS[power_method]
                                            IndexError: list index out of range
                                            -->End of Python script error report<--

Am I misunderstanding how the Android Power Key setting should work? Is there any way to use the Turn Off add-on to turn the box off?
Reply


Messages In This Thread
Turn Off screensaver - by dag- - 2018-04-18, 23:14
RE: Turn Off screensaver - by fracti0n - 2018-04-30, 14:17
RE: Turn Off screensaver - by dag- - 2018-04-30, 15:07
RE: Turn Off screensaver - by c_g_f - 2018-05-28, 15:06
RE: Turn Off screensaver - by c_g_f - 2018-05-28, 15:35
RE: Turn Off screensaver - by Atreyu - 2018-12-02, 14:02
RE: Turn Off screensaver - by STEPHANVS - 2019-02-07, 00:49
RE: Turn Off screensaver - by STEPHANVS - 2019-02-07, 01:14
RE: Turn Off screensaver - by Arokhaerr - 2019-06-16, 22:28
RE: Turn Off screensaver - by Aerotinge - 2019-09-07, 17:50
RE: Turn Off screensaver - by dag- - 2019-09-18, 21:23
RE: Turn Off screensaver - by tuna8311 - 2020-05-09, 04:57
RE: Turn Off screensaver - by dag- - 2020-05-09, 15:11
RE: Turn Off screensaver - by mariofenech - 2020-05-09, 21:16
RE: Turn Off screensaver - by dag- - 2020-05-11, 20:40
RE: Turn Off screensaver - by ppeterson - 2020-06-02, 02:31
RE: Turn Off screensaver - by LeVvE - 2020-07-11, 01:00
RE: Turn Off screensaver - by tt4079 - 2020-12-31, 19:23
RE: Turn Off screensaver - by tt4079 - 2021-02-20, 00:11


Logout Mark Read Team Forum Stats Members Help
Turn Off screensaver0
This forum uses Lukasz Tkacz MyBB addons.