Skip to content

Commit

Permalink
Fix handling of maxepisodes for babk-to-back recordings.
Browse files Browse the repository at this point in the history
The logic which triggers a reschedule after the last allowed episode
starts recording was broken during a scheduler refactor.

Fixes #11049
  • Loading branch information
gigem committed Aug 27, 2012
1 parent 53b89ce commit ae54e3b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythtv/programs/mythbackend/scheduler.cpp
Expand Up @@ -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()]));
Expand Down

0 comments on commit ae54e3b

Please sign in to comment.