[mythtv] Overlapping recordings scheduler bug

Bruce Markey bjm at lvcm.com
Tue Mar 11 13:46:32 EST 2003


FillRecordLists() does not seem to account for tuners that
are occupied with recordings in progress. When a recording
is started by StartRecording() followed by RemoveRecording(),
the scheduler no longer knows that the input is unavailable
until the endtime of that recording.

I saw this with four tuners and four overlapping shows. A
and B started at 2:05, C at 2:07 and D at 2:15. Before 2:05
they were assigned to inputs A=1, B=2, C=3 and D=4. At 2:05
A and B started recording. However, the scheduler reran and
assigned C=1, D=2. At 2:07 C failed to record because tuner
1 was busy and at 2:15 D failed to record.

An easier way to see this is to go to the EPG with no current
recordings. Press "r" to start a recording in progress (call
it A) on tuner 1. Press "r" on another show (B). It is
assigned to tuner 1, fails to record and shows up on the "Fix
Scheduling Conflicts" page. Press "r" on C. B=1, C=2. Tuner 2
is available so C records. B is still on the conflict list.
A and C are marked in red on the "Watch Recordings" list.

--  bjm



More information about the mythtv-dev mailing list