[mythtv-commits] Ticket #4725: Scheduler not properly coordinating its schedule with LiveTV.
MythTV
mythtv at cvs.mythtv.org
Wed Feb 20 17:50:45 UTC 2008
#4725: Scheduler not properly coordinating its schedule with LiveTV.
----------------------------------------------+-----------------------------
Reporter: Ron Frazier <ron at ronfrazier.net> | Owner: bjm
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: scheduler | Version: head
Severity: medium | Mlocked: 0
----------------------------------------------+-----------------------------
The scheduler doesn't appear to coordinate it's recording effort correctly
with LiveTV. As a result it missed recording part of a program that had no
later showings in favor of another program that had multiple later
showings with no conflicts. I was able to recreate this by doing the
following. Note...my system has 2 HD tuners of higher priority and then 3
SD tuners of lower priority.
I scheduled 3 programs to record, all with the "Record at any time on
channel X" option (all 3 programs are on different channels). The
following conflict ocurred:
Program 1 (Montel Williams) was scheduled to record from 12PM to 1PM on
tuner 1 and had no later showings.[[BR]]
Program 2 (Jeopardy!) was scheduled to record from 12:30PM to 1PM on tuner
2 and had no later showings.[[BR]]
Program 3 (Painting With Paulson) was NOT scheduled to record from 12:30PM
to 1PM because it had a later showing available.
Here is the relevant output from mythbackend --printsched
{{{
Title - Subtitle Ch Station Day Start End S C I T N
Pri
Montel Williams 202 WJBK 20 12:00-13:00 2 1 1 C 1
5/0
Jeopardy! 203 WDIV 20 12:30-13:00 2 2 2 C 2
5/0
Painting With Paulson - "The S 205 PBSHD 20 12:30-13:00 2 0 0 C L
5/0
.....
Painting With Paulson - "The S 205 PBSHD 21 10:00-10:30 2 1 1 C 1
5/0
}}}
Next, start LiveTV on tuner 1 and tune it to channel 202 sometime prior to
the beginning of the 12PM recording. This is the channel that Program 1
(Montel Williams) is scheduled to record on. I'm not sure if tuning to the
specific channel is necessary to demonstrate the bug, but it's what
happened in my case. The TV was turned off while still watching LiveTV on
that channel several hours prior.
When 12PM rolls around, instead of recording Program 1 it continues on and
shows Program 1 as LiveTV. When myth then reruns the scheduler before
12:30PM, it comes up with a new schedule:
{{{
Title - Subtitle Ch Station Day Start End S C I T N
Pri
Jeopardy! 203 WDIV 20 12:30-13:00 2 1 1 C 1
5/0
Painting With Paulson - "The S 205 PBSHD 20 12:30-13:00 2 2 2 C 2
5/0
}}}
Program 2 (Jeopardy!) got bumped up from tuner 2 to tuner 1, and Program 3
(Painting With Paulson) got bumped up from a later showing to the earlier
showing on tuner 2. When 12:30PM rolls around, myth then decides to
interrupt LiveTV to record both of those scheduled programs. As a rusult,
Program 1 only has 1/2 of the recording in the LiveTV storage group and no
opportunty to rerecord the whole thing at a later time.
I believe the ideal way to handle it would have been for the scheduler to
realize it should treat Program 1 as a recording rather than LiveTV and to
keep Program 3 at the later showing time.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4725>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list