[mythtv] [PATCH] Verson 2 - Duplicate Detection Methods
joelf at altelco.net
Thu Jan 29 17:21:34 EST 2004
Here is version two of a patch that adds the ability to detect
duplicates based on title+subtitle, title+description, none(eg always
record), title+subtitle+description. It's implimented in two fields as
suggested by Chris Pinkham and others. I've also changed the database to
use two fields, dupin - which is where we look for duplicates, and
dupmethod - which is how we check for them. I've also rearanged the
advanced recordings screen a bit. To allow the recorded programs to be
associated with a record in the "record" table, I've added a recordid
field to the "recorded" table. This is used to get the dupin and
dupmethod from the record table. In other words, you can alter the
record table and when you go to delete a program, the "Yes, but record
this episode again next time" should show up correctly.
Obviously wait to apply until after .14 comes out. Tell me if I'm
forgetting something. I'm not that knowledgable about the source code. I
did change the PROTO setting in mythcontext so that should be good.
Pre-existing shows will not be associated with their "record" table
record, but they will use the current method by default.
Comments are welcome. Thanks for the great work thus far.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 19269 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040129/66dd5171/dupmatching.bin
More information about the mythtv-dev