Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/mythtv/programs/mythbackend/scheduler.cpp b/mythtv/programs/mythbackend/scheduler.cpp
- index 3db2883..c378733 100644
- --- a/mythtv/programs/mythbackend/scheduler.cpp
- +++ b/mythtv/programs/mythbackend/scheduler.cpp
- @@ -54,6 +54,7 @@ bool debugConflicts = false;
- Scheduler::Scheduler(bool runthread, QMap<int, EncoderLink *> *tvList,
- QString tmptable, Scheduler *master_sched) :
- MThread("Scheduler"),
- + inSchedLiveTV(false),
- recordTable(tmptable),
- priorityTable("powerpriority"),
- schedLock(),
- @@ -519,7 +520,7 @@ void Scheduler::PrintList(RecList &list, bool onlyFutureRecordings)
- void Scheduler::PrintRec(const RecordingInfo *p, const char *prefix)
- {
- - if (!VERBOSE_LEVEL_CHECK(VB_SCHEDULE, LOG_INFO))
- + if (!VERBOSE_LEVEL_CHECK(VB_SCHEDULE, LOG_INFO) && !inSchedLiveTV)
- return;
- QString outstr;
- @@ -4967,7 +4968,9 @@ void Scheduler::SchedPreserveLiveTV(void)
- if (retrylist.empty())
- return;
- + inSchedLiveTV = true;
- MoveHigherRecords(false);
- + inSchedLiveTV = false;
- while (!retrylist.empty())
- {
- diff --git a/mythtv/programs/mythbackend/scheduler.h b/mythtv/programs/mythbackend/scheduler.h
- index 3875749..c4b05d8 100644
- --- a/mythtv/programs/mythbackend/scheduler.h
- +++ b/mythtv/programs/mythbackend/scheduler.h
- @@ -87,6 +87,7 @@ class Scheduler : public MThread, public MythScheduler
- virtual void run(void); // MThread
- private:
- + bool inSchedLiveTV;
- QString recordTable;
- QString priorityTable;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement