[mythtv] Re: Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord

David Engel gigem at comcast.net
Wed Sep 28 03:41:14 UTC 2005

On Tue, Sep 27, 2005 at 01:25:19AM -0700, Bruce Markey wrote:
> I'm thinking now that if there is going to be some sort of "softer"
> scheduling it should be just that, part of the schedule planning.
> I think it would make more sense to have a pair of variables for
> this, expressed in minutes, rather than usurping the preroll
> variables. 

That sounds appealing conceptually.  However, I fear the changes to
the scheduler would be more invasive than I would like.  The current,
abused, post-roll mechanism is nice to the scheduler in that it is
fire and forget.  Making the scheduler more aware of soft padding
would mean keeping track of when the padding has been added and when
it hasn't, informing a recorder when the padding has to be changed
after the fact, etc.

Full soft padding could also open up whole new cans of worms.  What if
some, but not all, of the soft padding between two programs could be
honored, should the scheduler split the difference?  Should that
behavior be different if the programs ares on the same channel.
Should the scheduler try to force back to back (with or without
padding) programs on the same channel to the same card?  ...

> These could be applied to the schedule in the context
> of scheduling and shown in the Upcoming Recordings (reclist) for
> the users to fix whatever problems they create for themselves.

That could lead to some strange things.  What if the user tries to fix
things up by adjusting the hard start-early or end-late settings and
instead winds up receiving a whole new scheduling result?

David Engel
gigem at comcast.net

More information about the mythtv-dev mailing list