Permalink
Browse files

Make the idle timeout independent of scheduler runs

As the scheduler runs every other minute when the EIT scanner is
enabled you end up with never being idle, thus breaking shutdown
when idle.

As discussed on IRC at
http://irc.mythtv.org/ircLog/channel/4/2013-03-14:18:52:00

Refs: #11399
  • Loading branch information...
1 parent 7554135 commit e73015ba7f6a3ad8c870e46503ff71a1243639e3 @dekarl dekarl committed Mar 29, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 mythtv/programs/mythbackend/scheduler.cpp
View
3 mythtv/programs/mythbackend/scheduler.cpp
@@ -1944,7 +1944,8 @@ void Scheduler::run(void)
{
MythEvent me("SCHEDULE_CHANGE");
gCoreContext->dispatch(me);
- idleSince = QDateTime();
+// a scheduler run has nothing to do with the idle shutdown
+// idleSince = QDateTime();
}
// if idletimeout is 0, the user disabled the auto-shutdown feature

0 comments on commit e73015b

Please sign in to comment.