[mythtv] More scheduling scheduler

Max Barry mythtv at maxbarry.com
Fri Jun 30 01:19:33 UTC 2006


Finally got my compilation issues sorted out (stupid QT). Here's my test
of the latest 'softpad' branch.

On May 1, 2006, David Engel wrote:
> On Mon, Apr 24, 2006 at 01:43:13PM +1000, Max Barry wrote:
>> I very much like the new "(-1 +2)" string, but I found one problem with
>> it: if you use a hard buffer to *decrease* the recording time, it's out
>> by 1 minute. For example, if you have no soft pad and "End recording 2
>> minutes early", it displays "(+0 -1)" instead of "(+0 -2)". This is a
>> cosmetic problem with this string only; the scheduled recording times
>> were accurate.
> 
> Should be fixed now. 

Indeed it is, thanks.

>> I also have a related suggestion. After playing around for a while, I
>> found that having "-" indicate start-early and "+" indicate end-late
>> became confusing. I think it would be more intuitive if "+" always meant
>> "more recording time" and "-" always meant "less recording time". So if
>> you have a 1-minute start-early buffer and a 2-minute end-late buffer,
>> it would display as "(+1 +2)", not "(-1 +2)".
> 
> No one else spoke up so I switched this. 

Looks good to me!

On May 7, 2006, Paul Andreassen wrote:
> I used 2/3 of the 'record' colour for droppedsoft so it appears darker.

Working great, and very, very handy!

More generally, the soft padding seemed to work perfectly in almost all
situations. It would even try to preserve the soft padding of the higher
priority shows more than the soft padding from other shows (without
causing conflicts, of course).

But I did find an oddity when I scheduled five programs consecutively.
(Conditions: two tuners (#3 and #4), 2-minute start-early softpad,
5-minute end-late softpad, no priorities, no hard buffers.)

You would expect Myth to simply alternate tuners for each show, thus
allowing all which would allow all soft padding to be captured. Instead,
it unnecessarily dropped soft padding for the 2nd and 3rd shows:

Desperate Housewives 7 1005  03 20:28-21:35  3 3  A 3   0/0
Grey's Anatomy       7 1005  03 21:28-22:30  4 4  A 4   0/0
Boston Legal         7 1005  03 22:30-23:35  4 4  A 4   0/0
Scrubs               7 1005  03 23:28-00:05  3 3  A 3   0/0
Arrested Development 7 1005  03 23:58-00:35  4 4  A 4   0/0

If I eliminated any one of these shows from the schedule, the other four
were scheduled correctly:

Desperate Housewives 7 1005  03 20:28-21:35  3 3  A 3   0/0
Grey's Anatomy       7 1005  03 21:28-22:35  4 4  A 4   0/0
Boston Legal         7 1005  03 22:28-23:35  3 3  A 3   0/0
Scrubs               7 1005  03 23:28-00:05  4 4  A 4   0/0
Arrested Development 7 1005  04 00:00-00:30  0 0  O X   0/0

I could also fix things by raising the priority of one (or both) of
those truncated shows:

Desperate Housewives 7 1005  03 20:28-21:35  3 3  A 3   0/0
Grey's Anatomy       7 1005  03 21:28-22:35  4 4  A 4   0/0
Boston Legal         7 1005  03 22:28-23:35  3 3  A 3   1/0
Scrubs               7 1005  03 23:28-00:05  4 4  A 4   0/0
Arrested Development 7 1005  03 23:58-00:35  3 3  A 3   0/0

This happened regardless of whether SchedMoveHigher was enabled.

Max.



More information about the mythtv-dev mailing list