Skip to content

Commit

Permalink
Don't skip over recordings that are still tuning.
Browse files Browse the repository at this point in the history
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 f455e49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/programs/mythbackend/scheduler.cpp
Expand Up @@ -1906,7 +1906,8 @@ void Scheduler::run(void)
for ( ; startIter != reclist.end(); ++startIter)
{
if ((*startIter)->GetRecordingStatus() !=
(*startIter)->oldrecstatus)
(*startIter)->oldrecstatus ||
(*startIter)->GetRecordingStatus() == rsTuning)
{
break;
}
Expand Down

0 comments on commit f455e49

Please sign in to comment.