[mythtv] Preserve global padding. [UNSTABLE]

Martin Long mythtv at longhome.co.uk
Sun Apr 8 23:37:42 UTC 2007

Finally... worked out all of the MoveHigherRecords stuff, putting in
multiple passes where necessary. The logic looks ok, but I use these
functions very rarely - 4 tuners means TryAnotherShowing hardly ever gets
used on my box. 

This should be my last build for a while, with any luck. Sorry for the


-----Original Message-----
From: mythtv-dev-bounces at mythtv.org [mailto:mythtv-dev-bounces at mythtv.org]
On Behalf Of Martin Long
Sent: 08 April 2007 22:09
To: 'Development of mythtv'
Subject: Re: [mythtv] Preserve global padding. [UNSTABLE]

Ok... the wife's a bit annoyed, but I did it. It's just a case of running 2
passes of a part of the scheduler. The first time padding will clash,
ensuring a new cardinput will be used, however, it may be unable to schedule
some recordings. The second pass will loop through anything that is still
rsUnknown, this time ignoring padding, and allowing those remaining programs
to be scheduled.

It seems to work well, and it all comes out ok when you add new or remove
existing schedules. 

I need to take some time and get a better understanding of
TryAnotherShowing, MoveHigherRecords and getConflicting to make sure I've
got the logic right for all the various scenarios, so some help here would
be greatly appreciated. 

Hope someone finds this useful. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: preservepadding.patch
Type: application/octet-stream
Size: 8427 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20070409/48d02b9c/attachment.obj 

More information about the mythtv-dev mailing list