summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Dietz <dekarl@mythtv.org>2013-03-29 07:07:57 (GMT)
committer Karl Dietz <dekarl@mythtv.org>2013-04-24 21:20:57 (GMT)
commite73015ba7f6a3ad8c870e46503ff71a1243639e3 (patch)
treeaca42ccb5402f925f4f0acb2a3fc4f4dc661faff
parent75541357af4a527057301f8f1b4b2ae0368f47b1 (diff)
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
-rw-r--r--mythtv/programs/mythbackend/scheduler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/mythtv/programs/mythbackend/scheduler.cpp b/mythtv/programs/mythbackend/scheduler.cpp
index 66286fe..eed332a 100644
--- a/mythtv/programs/mythbackend/scheduler.cpp
+++ b/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