[mythtv] [PATCH] Control duplicates by channel ID

David Shay david at shay.net
Tue Aug 7 23:47:59 UTC 2007


On 8/7/07, David Engel <david at istwok.net> wrote:
> On Tue, Aug 07, 2007 at 01:56:18PM -0500, David Shay wrote:
> > > Yes, the AddHistory should also be qualified by
> > >
> > >   nextRecording->recstartts <= schedTime
> >
> > After some more thought, I wondered if maybe the check should be a
> > call to IsSameTimeslot instead?  I'll try some things out tonight.
>
> I don't follow.  In PruneRedundants(), any call to AddHistory() must
> be qualified by the current time in order to match how it would have
> been called in RunScheduler().  IOW, anything in that might happen in
> the future is still conjecture at that point.  Only after the
> scheduler would have acted on something, does it become a mater or
> record.
>

Sorry, I wasn't clear.  I meant not JUST the check for <= schedtime
but ALSO a check to IsSameTimeslot so that we were only adding the
"precise" "potentially unnecessarily duplicate" entries to
oldrecorded.


More information about the mythtv-dev mailing list