kodi won't fire up setwakeup.sh
#1
Shocked 
Hello, sorry for my bad english, i'll try to do my better to explain my problem.

I tried to build my own kodi system. I tried both with OpenELEC and LibreELEC, all goes well, but i have a problem with pvr recordings (i use tvheadend backend) on both of them:

if i program a record from the epg screen, it is correctly flagged as programmed record, for example, i try to program a show which starts 4 hours in the future (over 15 minutes in settings), then if i turn off my htpc, i expect that the setwakeup.sh script is fired up and the rtc updated to boot few minutes before the show starts (all as settings in the proper config screen). However this does not happen. Looking at logs i can read this error:

Code:
17:08:09.451 T:140157520614336   DEBUG: CSettingsManager: requested setting (pvrpowermanagement.enabled) was not found.
17:08:09.452 T:140157520614336  NOTICE: PVRManager - stopping
17:08:09.558 T:140156115101440   DEBUG: Thread PVRManager 140156115101440 terminating
17:08:09.568 T:140157520614336   DEBUG: PVR - Destroy - destroying PVR add-on 'Tvheadend:127.0.0.1:9982'
17:08:09.950 T:140157520614336   DEBUG: SECTION:UnloadDll(/storage/.kodi/addons/pvr.hts/pvr.hts.so.3.4.18)
17:08:09.950 T:140157520614336    INFO: ADDON: Dll Destroyed - Tvheadend HTSP Client
17:08:09.950 T:140157520614336   DEBUG: CSettingsManager: requested setting (epg.daystodisplay) was not found.

and setwakeup.sh is never fired.

Searching in this forum i found a very old post (related to kodi 12.2) without answers, so i hope some kodi team member can find the time to point me in the right direction to understand the problem
Reply
#2
Same problem here (LibreElec 8.0.0 on a RasPi3). My logs look the same as yours.

The funny thing is that I had just set it all up using the previous version (7.0.3) of LibreElec and it worked just fine. I have a script that programs the timer on a RemotePi board to restart in time for the next timer event. This was working like a charm until I upgraded to the latest version, so it looks like a bug to me. On the other hand, it might be deliberate thinking since I no longer have the choice of "suspend" in the power down actions. That makes sense because a RasPi can't be suspended. But maybe the setwakeup.sh script now only gets called on platforms with a working suspend? Just an idea.

In any case it's annoying. I'm thinking of reinstalling everything using the old LibreElec 7.0.3 .
Reply
#3
As far as I can see the same problem is described in this thread:

https://forum.libreelec.tv/thread-5874.html


... along with a possible solution (patch) and the promise to push this upstream. Looks like we need to wait for the next release (or build from source using the patch).
Reply
#4
Should be fixed in next nightly build for master and krypton.
Reply

Logout Mark Read Team Forum Stats Members Help
kodi won't fire up setwakeup.sh0