[mythtv] [PATCH] Control duplicates by channel ID

David Engel david at istwok.net
Thu Aug 9 02:06:17 UTC 2007


On Wed, Aug 08, 2007 at 02:45:03PM -0500, David Shay wrote:
> OK, determined the problem to be that the scheduler runs in advance of
> the program starting, so the check on recstartts <= schedtime is
> false, so the record doesn't get added.  The scheduler doesn't re-run
> again until after the program has ended rerecording, which after the
> statuses have already been screwed up by the call as below.  Not sure
> what the right check here is, but it's not against schedtime I don't
> think.

Besides the problems you've already noted, I thought of some others
which effectlively make doing AddHistorys in PruneRedundants a
non-starter.  This remaining option at the moment is to change
PruneRedundants to coalesce on chanid instead of callsign and then
deal with all the places into which that ripples.

To be honest, I really don't like how pervasive this change is
becoming.  I'd much rather find a less intrusive alternative.  Heck,
even an out right hack for such a special case feature might be
better.  Of course, I'm biased since I don't foresee myself using
this.  One hair-brained idea I've considered is munging titles and
programids on the fly to trick the scheduler into thinking the same
program on different chanids is really different.  Another one is
automatically create special manual recording rules as needed.  You
never know, something way outside the box might just do the trick too.

David
-- 
David Engel
david at istwok.net


More information about the mythtv-dev mailing list