[mythtv] More scheduling scheduler

Paul Andreassen paulx at andreassen.com.au
Mon May 15 16:52:48 UTC 2006


On Wed, 10 May 2006 06:08 am, David Engel wrote:
> > Fixed in attached patch.  This assumes that the softpadding is going to
> > be soft even for high priority programs.  If not the longer commented
> > section should work.
>
> I'll try to get to this in the next few days.  I've been terribly busy
> with other things lately.  My main question is if the between time
> should be split proportionally for softend and softstart or should
> softend always be maximized with softstart getting the rest?

I like proportionally.  I have one late night recording which consistently 
starts five minutes early.

> > I've extended the timedate area only for conflict and schdiff but not
> > programlist.  programlist is used in previouslist.cpp for after
> > scheduling and in proglist.cpp for before scheduling.  Neither had any
> > softpadding to display.
>
> proglist can definitely show things that are already scheduled.

Will do up two patches.

> On Mon, May 08, 2006 at 02:45:16PM +1000, Paul Andreassen wrote:
> > On Mon, 8 May 2006 01:17 am, Paul Andreassen wrote:
> > > I've compiled with '[9863]  Make soft padding work better when
> > > SchedMoveHigher? is disabled.' and soft padding isn't removed for high
> > > priority programs even when SchedMoveHigher is enabled.
> >
> > After more testing it does work but depends on the order of scheduling of
> > the programs.  Because it doesn't try every fit, it didn't wiggle enough
> > for my test example.  Even changing the high priority program to the same
> > as the others didn't help.  But by increasing the priority of the
> > conflicting program did.
>
> Can you provide specifics?

True times, without softpad, hand edited.

Boston Legal - "Helping Hands"         7 1002  22 22:35-23:30
Six Feet Under - "Singing For Our L    9 1001  22 22:35-23:40
Spanish News                          29 1006  22 23:25-23:45
Scrubs - "My Rite of Passage"          7 1002  22 23:30-00:00
WIN News Late Edition                  9 1001  22 23:40-00:10

Why didn't it use my third card? (bad card with -10 priority)

Boston Legal - "Helping Hands"         7 1002  22 22:30-23:37  1 2 2  S 2   0
Ten Late Night News/Sports Tonight    10 1004  22 22:35-23:25  1 1 1  S 1   2
Scrubs - "My Rite of Passage"          7 1002  22 23:25-00:10  1 1 1  S 1   0
WIN News Late Edition                  9 1001  22 23:37-00:20  1 2 2  S 2   0

This should fit.

Boston Legal - "Helping Hands"         7 1002  22 22:30-23:37  1 2 2  S 2   0
Six Feet Under - "Singing For Our L    9 1001  22 22:35-23:40  1 0 0  S C   0
Spanish News                          29 1006  22 23:20-23:55  1 1 1  S 1   2
Scrubs - "My Rite of Passage"          7 1002  22 23:25-00:10  1 3 3  S 3 -10
WIN News Late Edition                  9 1001  22 23:37-00:20  1 2 2  S 2   0

Increasing priority didn't help.

Boston Legal - "Helping Hands"         7 1002  22 22:30-23:37  1 3 3  S 3 -10
Six Feet Under - "Singing For Our L    9 1001  22 22:30-23:50  1 2 2  S 2   1
Spanish News                          29 1006  22 23:20-23:55  1 1 1  S 1   2
Scrubs - "My Rite of Passage"          7 1002  22 23:30-00:00  1 0 0  S C   0
WIN News Late Edition                  9 1001  22 23:37-00:20  1 3 3  S 3 -10

It will work with some extra priorities thrown around.

Boston Legal - "Helping Hands"         7 1002  22 22:30-23:30  1 2 2  S 2   0
Six Feet Under - "Singing For Our L    9 1001  22 22:30-23:40  1 3 3  S 3  -9
Spanish News                          29 1006  22 23:20-23:55  1 1 1  S 1   2
Scrubs - "My Rite of Passage"          7 1002  22 23:30-00:10  1 2 2  S 2   1
WIN News Late Edition                  9 1001  22 23:40-00:20  1 3 3  S 3  -9

Paul
-- 


More information about the mythtv-dev mailing list