I thought I fixed the skin background issue, here’s how for future reference and other users.
Added this in standby.py to unset the background path for the skin:
Added this in wake.py to update the library, take me to the home window an reset the skin background path:
Warning: this works for the Aeon Nox Silvo skin, you should check the right settings in your skin files (in .kodi/userdata/addon_data).
Now though, this may be unrelated and I need to test further: if I wait more than 1 minute (my screensaver timeout) and wake the Vero, my screensaver is already running, not sure why.
Also, after 10 minutes the device wakes by itself with the following (I think not very helpful) log:
11:25:46.586 T:3833344768 DEBUG: RunQuery took 72 ms for 4 items query: select * from movie_view WHERE ((movie_view.playCount IS NULL OR movie_view.playCount < 1))
11:25:47.326 T:3833344768 DEBUG: RunQuery took 39 ms for 20 items query: select * from episode_view WHERE ((episode_view.playCount IS NULL OR episode_view.playCount < 1))
11:25:48.844 T:3833344768 DEBUG: GetSongsFullByWhere query = SELECT sv.*, songartistview.* FROM (SELECT songview.* FROM songview WHERE ((CAST(songview.iTimesPlayed as DECIMAL(5,1)) < 1)) ORDER BY RANDO
M() LIMIT 20) AS sv JOIN songartistview ON songartistview.idsong = sv.idsong ORDER BY songartistview.idsong, songartistview.idRole, songartistview.iOrder
11:25:48.950 T:3833344768 DEBUG: GetAlbumsByWhere query: SELECT albumview.*, albumartistview.* FROM albumview JOIN albumartistview ON albumartistview.idalbum = albumview.idalbum WHERE albumview.strRele
aseType = 'album'
11:25:48.965 T:3833344768 DEBUG: GetAlbumsByWhere - query took 14 ms
11:25:49.114 T:3833344768 DEBUG: RunQuery took 15 ms for 0 items query: select * from musicvideo_view WHERE ((musicvideo_view.playCount IS NULL OR musicvideo_view.playCount < 1))
11:26:37.549 T:4079219056 NOTICE: Activating standby mode
11:26:37.550 T:4079219056 INFO: Activating Vero standby mode
11:26:37.550 T:4079219056 INFO: Toggle standby state is waking
11:26:37.550 T:4079219056 INFO: CApplication::ToggleStandby -- Toggle TMDS clock to 1
11:26:37.668 T:4079219056 INFO: CApplication::ToggleStandby -- Toggle LED brightness to 1
11:26:37.669 T:4079219056 INFO: CApplication::ToggleStandby -- governor will now be ondemand
11:26:37.678 T:4079219056 INFO: CApplication::ToggleStandby -- HPD locking will now be hpd_lock0
11:26:37.678 T:4079219056 NOTICE: CApplication::ToggleStandby -- checking for existence of /home/osmc/.kodi/userdata/wake.py
11:26:37.678 T:4079219056 NOTICE: CApplication::ToggleStandby -- script /home/osmc/.kodi/userdata/wake.py found
11:26:37.679 T:3797934848 DEBUG: Thread LanguageInvoker start, auto delete: false
11:26:37.679 T:3797934848 INFO: initializing python engine.
11:26:37.679 T:3797934848 DEBUG: CPythonInvoker(45, /home/osmc/.kodi/userdata/wake.py): start processing
11:26:37.679 T:4079203072 DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc
11:26:37.679 T:4079219056 DEBUG: ------ Window Deinit () ------
11:26:37.679 T:4079203072 DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated
Then the device goes in suspend mode again after a timeout I set (10 minutes), it seems to execute the standby script but I see in the logs that the skin is still asking for background images.
So I’m not sure what is happening, I’m disabling the skin background feature for now.
I have a couple more things to ask (besides the slow remote issue):
I see these lines in kodi.log when running the wake/standby scripts:
10:49:15.732 T:4059034368 DEBUG: CPythonInvoker(17, /home/osmc/.kodi/userdata/standby.py): the source file to load is "/home/osmc/.kodi/userdata/standby.py"
10:49:15.734 T:4059034368 WARNING: CPythonInvoker(17): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
will this be an issue in the future?
I’m also using the Youtube addon (6.4.0) with inputstream-adaptive and I see the following every minute:
10:49:47.684 T:3693040384 DEBUG: [plugin.video.youtube] HTTPServer: Request uri path |/ping|
10:49:47.686 T:3693040384 DEBUG: [plugin.video.youtube] HTTPServer: Connection from |127.0.| Local range: |True|
10:49:47.738 T:3858522880 DEBUG: [plugin.video.youtube] HTTPServer: Ping |127.0.0.1:50152| |204|
So the Youtube HTTP server is on and receiving pings even in standby mode. This is not an issue but I’m not sure what the HTTP server is for and apparently it can’t be disabled.
Sorry for the long post, I’m working to have a perfect setup