[mythtv] [PATCH] Control duplicates by channel ID

David Engel david at istwok.net
Sun Sep 9 04:47:54 UTC 2007


On Thu, Sep 06, 2007 at 09:04:56PM -0500, David Shay wrote:
> If I rule that out temporarily for now, option 2 would still be to try to
> figure out how to get all of the oldrecorded entries in.  I still think
> that's possible, but if I temporarily rule this out, and call option 3 your
> "changing PruneRedundants to group  by chanid instead of callsign", can you
> describe what you believe the fallout would be?

Off the top of my head, here are the things I believe would need to be
addressed.

In AddNewRecords(), there is code which ignores candidate recordings
if that program is already being recorded.  That code would need to be
changed to do the right thing for chanid and non-chanid rules.

Also in AddNewRecords(), the oldrecstatus JOIN would need to be
changed to match on chanid instead of callsign.

The code which sets oldrecorded.reactivate would need to be changed to
do the right thing for chanid and non-chanid rules -- set only the
entry for the specific chanid for a chanid rule or set all chanids for
a non-chanid rule.

In the Previously Recorded screen, there might need to be two
variations of the "Remove this episode" action -- one to remove only
that chanid and another to remove all chanids.

David
-- 
David Engel
david at istwok.net


More information about the mythtv-dev mailing list