[mythtv] Preserve global padding. [UNSTABLE]

Martin Long mythtv at longhome.co.uk
Sun Apr 8 21:09:04 UTC 2007


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. 

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


More information about the mythtv-dev mailing list