[mythtv] More scheduling scheduler

David Engel gigem at comcast.net
Tue May 2 18:58:03 UTC 2006

On Tue, May 02, 2006 at 10:16:39PM +1000, Paul Andreassen wrote:
> > > Should I do the other themes?
> > Yes.
> How is the best way to submit this.  Two patches, one for mythtv and one for 
> themes?


> > > Attached 'soft3complete-partial.patch.gz' is patch for partial
> > > padding.  This does seem to work.
> > It should use cardid instead of inputid.
> I thought the inputid was unique, will fix.  Is there anything else it should 
> be sorted on?  How should p->shareable be handled?  It currently doesn't 
> partially softpad p->shareable because it shouldn't need to.

inputids are unique, but you can't have two inputs on the same card in
use at the same time.

> >  It also needs to take into
> > account whether or not softpadding has already been included.  I say
> > maximize the softend and then give the rest to softstart.
> It only does partial padding if there isn't room between programs for full 
> padding.  Currently it proportionally allocates, with any seconds truncated 
> to minutes in favour of softend.

Unless I misread your patch, it doesn't take into account the earlier
recording might alreay have softend applied or the later recording
might already have softstart applied.  If either of these are the
case, you would be adding more pad than the user requested to one

> I was going to do the themes as had previously.  Will I still put 'offset' in
> it own area?

No, leave it the way it is in the timedate area.

> Why 'Don't apply softpadding if SchedMoveHigher? isn't enabled. '  ?

Because it makes the padding hard instead of soft.  See one of Max'
earlier emails.

David Engel
gigem at comcast.net

More information about the mythtv-dev mailing list