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 0e99c88..487e7e0 100644
- --- a/mythtv/programs/mythbackend/scheduler.cpp
- +++ b/mythtv/programs/mythbackend/scheduler.cpp
- @@ -56,6 +56,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(),
- @@ -535,7 +536,7 @@ void Scheduler::PrintList(RecList &list, bool onlyFutureRecordings)
- void Scheduler::PrintRec(const RecordingInfo *p, const char *prefix)
- {
- - if (!VERBOSE_LEVEL_CHECK(VB_SCHEDULE, LOG_DEBUG))
- + if (!VERBOSE_LEVEL_CHECK(VB_SCHEDULE, LOG_DEBUG) && !inSchedLiveTV)
- return;
- QString outstr;
- @@ -5052,7 +5053,9 @@ void Scheduler::SchedLiveTV(void)
- if (retrylist.empty())
- return;
- + inSchedLiveTV = true;
- MoveHigherRecords(true);
- + inSchedLiveTV = false;
- while (!retrylist.empty())
- {
- diff --git a/mythtv/programs/mythbackend/scheduler.h b/mythtv/programs/mythbackend/scheduler.h
- index fedab8f..2cbe3af 100644
- --- a/mythtv/programs/mythbackend/scheduler.h
- +++ b/mythtv/programs/mythbackend/scheduler.h
- @@ -97,6 +97,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