Posts: 188
Joined: Dec 2011
Reputation:
1
bam80
Senior Member
Posts: 188
What if no recording was scheduled at all, but PC with tvheadend server was woken up by WOL packet from remote client - will the PC suspend automatically by your plugin if no network activities occur then?
Posts: 6
Joined: Dec 2015
Reputation:
0
This is also my issue. My machine stays always on after WOL wakeup or resume which is triggered by a different event than recording. - Although the Addon does what it should this is definitly a topic for KODI / Openelec programmers to solve I guess.
Posts: 946
Joined: Apr 2010
Reputation:
395
_BJ1
Posting Freak
Posts: 946
This addon works here really fine with the latest builds (incl. nightly builds) of tvheadend.
Posts: 946
Joined: Apr 2010
Reputation:
395
_BJ1
Posting Freak
Posts: 946
Which version of the addon? Could you provide a kodi.log?
Posts: 946
Joined: Apr 2010
Reputation:
395
_BJ1
Posting Freak
Posts: 946
Should be compatible. Why don't you try it out?
Posts: 9
Joined: Jun 2016
Reputation:
0
hi,
i use your addon with OpenELEC since v15. it does do what it should do.
thank you for that :-)
the last working kodi version is the OpenELEC milhouse for kodi v17 build.
i did migrate to New LibreELEC.tv Krypton build #0529 this week and did notice a little bug.
the shutdown process does not write the new timer to /sys/class/rtc/rtc0/wakealarm so that kodi doesn't wake up for the new record.
i don't know either this is a problem in LibreELEC or some kind of incompatibility of your nice addon.
in kodi.log i can see the addon does successful connect to tvheadend and got the new timer.
next line says, the addon set the timer and shut down kodi.
some ideas there to look next to find the bug?
Posts: 946
Joined: Apr 2010
Reputation:
395
_BJ1
Posting Freak
Posts: 946
2016-06-05, 11:20
(This post was last modified: 2016-06-05, 11:21 by _BJ1.)
Setting the timer and shut down the system are the very last steps within the shutdown process. What are the settings for the shutdown mechanism (e.g. Kodi or OS)? Try OS and look if the system shuts down properly. If not there could be some issues with the correct right permissions. Go into the .kodi/addons/service.tvh.manager/resources/lib and check the execution flag/permission - which should be 755 at least. You can set this by typing
chmod a+x *
within the directory of the service.tvh.manager/resources/lib directory. BTW the shutdown mechanism worked since the very early times of this addon and has never changed so maybe there are some issues with the new LibreElec I guess.
Regards.
Posts: 9
Joined: Jun 2016
Reputation:
0
shutdown mechanismis is set to kodi. this works very well with OpenELEC and LibreELEC. Setting this to OS it doesn't work.
the Addon recocnizes active recordings and stops shutdown procedure until all active recording have finished. - all fine
During Shutdown procedure the Addon does display the correct next Timer on TV Screen. - all fine
the Addon correctly shuts down kodi from any situation. - all fine
the very last thing -> writing the next timer to wakealarm doesn't work with LibreELEC.
I will check all the permissions next week.
Posts: 946
Joined: Apr 2010
Reputation:
395
_BJ1
Posting Freak
Posts: 946
There is a new version outside - see signature. Now you have to check if you need admin/sudo permissions for the shutdown wrapper. Ubuntu/XBMCbuntu/Kodibuntu need this, OpenELEC/LibreELEC don't (uncheck this option in settings).