Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit e73015ba7f6a3ad8c870e46503ff71a1243639e3 1 parent 7554135
Karl Dietz dekarl authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  mythtv/programs/mythbackend/scheduler.cpp
3  mythtv/programs/mythbackend/scheduler.cpp
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.