Skip to content
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
(cherry picked from commit ae54e3b)
  • Loading branch information...
1 parent 46cab93 commit d51927663b67c7c035108270a31bf14aed68bcdb @gigem gigem committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 mythtv/programs/mythbackend/scheduler.cpp
View
3 mythtv/programs/mythbackend/scheduler.cpp
@@ -2498,8 +2498,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()]));

0 comments on commit d519276

Please sign in to comment.
Something went wrong with that request. Please try again.