[mythtv] More scheduling scheduler

Paul Andreassen paulx at andreassen.com.au
Fri Jun 30 10:14:46 UTC 2006


On Fri, 30 Jun 2006 11:19 am, Max Barry wrote:
> More generally, the soft padding seemed to work perfectly in almost all
> situations. It would even try to preserve the soft padding of the higher
> priority shows more than the soft padding from other shows (without
> causing conflicts, of course).
>
> But I did find an oddity when I scheduled five programs consecutively.
> (Conditions: two tuners (#3 and #4), 2-minute start-early softpad,
> 5-minute end-late softpad, no priorities, no hard buffers.)
>
> You would expect Myth to simply alternate tuners for each show, thus
> allowing all which would allow all soft padding to be captured. Instead,
> it unnecessarily dropped soft padding for the 2nd and 3rd shows:
>
> Desperate Housewives 7 1005  03 20:28-21:35  3 3  A 3   0/0
> Grey's Anatomy       7 1005  03 21:28-22:30  4 4  A 4   0/0
> Boston Legal         7 1005  03 22:30-23:35  4 4  A 4   0/0
> Scrubs               7 1005  03 23:28-00:05  3 3  A 3   0/0
> Arrested Development 7 1005  03 23:58-00:35  4 4  A 4   0/0
>
> If I eliminated any one of these shows from the schedule, the other four
> were scheduled correctly:
>
> Desperate Housewives 7 1005  03 20:28-21:35  3 3  A 3   0/0
> Grey's Anatomy       7 1005  03 21:28-22:35  4 4  A 4   0/0
> Boston Legal         7 1005  03 22:28-23:35  3 3  A 3   0/0
> Scrubs               7 1005  03 23:28-00:05  4 4  A 4   0/0
> Arrested Development 7 1005  04 00:00-00:30  0 0  O X   0/0
>
> I could also fix things by raising the priority of one (or both) of
> those truncated shows:
>
> Desperate Housewives 7 1005  03 20:28-21:35  3 3  A 3   0/0
> Grey's Anatomy       7 1005  03 21:28-22:35  4 4  A 4   0/0
> Boston Legal         7 1005  03 22:28-23:35  3 3  A 3   1/0
> Scrubs               7 1005  03 23:28-00:05  4 4  A 4   0/0
> Arrested Development 7 1005  03 23:58-00:35  3 3  A 3   0/0
>
> This happened regardless of whether SchedMoveHigher was enabled.

In my limited testing it wouldn't schedule a program even though it would fit, 
until some random changing of priorities.

The patch I mentioned which I believe is the cause, came about due to the 
concern that soft padding should always be soft.  As I've already posted, I 
quite like the idea that if someone has disabled SchedMoveHigher then they 
probably want higher priority programs not to drop soft padding.  But I'm 
easy. ;-)

Have you tried the partial soft padding I've posted?  The commented section is 
to be used if you drop the above mentioned patch.

I currently run with channel selected partial soft padding,
Paul
-- 


More information about the mythtv-dev mailing list