[mythtv] Scheduler disturbs idle timeout for automatic shutdown
tino.keitel at gmx.de
Sat Feb 10 19:17:20 UTC 2007
I tried to set up an automatic shutdown by the mythbackend. However, I
had very lousy results. The reason seems to be the scheduler resets the
idle countdown before it reaches 0. The logfile looks like this:
40 secs left to system shutdown!
EITScanner: Added 1 EIT Events
Reschedule requested for id -1.
Scheduled 4 items in 0.1 = 0.06 match + 0.02 place
scheduler: Scheduled items: Scheduled 4 items in 0.1 = 0.06 match + 0.02 place
I'm idle now... shutdown will occur in 600 seconds.
A looked into programs/mythbackend/scheduler.cpp and found out that
RunScheduler() messes around with idle stuff. Is there a reason why the
scheduler resets the idle countdown?
More information about the mythtv-dev