Permalink
Browse files

Don't skip over recordings that are still tuning.

Fix a bug where the scheduler sometimes skips over recordings in the
rsTuning state.  This doesn't matter normally as the recording usually
transitiions to the rsRecording state quickly.  When there is a tuning
problem, however, this bug defeats the tuning timeout check in the
scheduler and the recording gets stuck in the tuning state.  This fix
makes sure the tuning check is always done.
  • Loading branch information...
gigem committed Jun 4, 2013
1 parent aafa07e commit f455e491239cc128200db85c90dcab7ea15044c3
Showing with 2 additions and 1 deletion.
  1. +2 −1 mythtv/programs/mythbackend/scheduler.cpp
@@ -1906,7 +1906,8 @@ void Scheduler::run(void)
for ( ; startIter != reclist.end(); ++startIter)
{
if ((*startIter)->GetRecordingStatus() !=
(*startIter)->oldrecstatus)
(*startIter)->oldrecstatus ||
(*startIter)->GetRecordingStatus() == rsTuning)
{
break;
}

0 comments on commit f455e49

Please sign in to comment.