Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix handling of maxepisodes for babk-to-back recordings.

The logic which triggers a reschedule after the last allowed episode
starts recording was broken during a scheduler refactor.

Fixes #11049
  • Loading branch information...
commit ae54e3b9daca3252e1319627dcedc32a5a6a9e9f 1 parent 53b89ce
@gigem gigem authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  mythtv/programs/mythbackend/scheduler.cpp
View
3  mythtv/programs/mythbackend/scheduler.cpp
@@ -2631,8 +2631,7 @@ void Scheduler::HandleRecordingStatusChange(
ri.SetRecordingStatus(recStatus);
bool doSchedAfterStart =
- recStatus != rsTuning &&
- (recStatus != rsRecording ||
+ ((recStatus != rsTuning && recStatus != rsRecording) ||
schedAfterStartMap[ri.GetRecordingRuleID()] ||
(ri.GetParentRecordingRuleID() &&
schedAfterStartMap[ri.GetParentRecordingRuleID()]));
Please sign in to comment.
Something went wrong with that request. Please try again.