<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 17, 2018, at 7:25 AM, Michael T. Dean <<a href="mailto:mtdean@thirdcontact.com" class="">mtdean@thirdcontact.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 12/17/2018 07:12 AM, Michael T. Dean wrote:<br class=""><blockquote type="cite" class="">On Mon, 17 Dec 2018 at 14:37, Scot Kreienkamp wrote:<br class=""><blockquote type="cite" class="">    Hi,<br class=""><br class="">    I'm trying to understand why my duplicate detection isn't working<br class="">    like I think it should.  I record much of my stuff by power search<br class="">    including the example in this email, "Modern Family".  I have<br class="">    "Duplicate Check method" set to subtitle and description, and<br class="">    "Check for duplicates in" set to "All recordings".  As I<br class="">    understand it, that should mean that I don't ever record any<br class="">    Modern Family shows a second time.   Using those settings I have<br class="">    three instances of the same show in oldrecorded, and it's due to<br class="">    record another instance soon.  It seems like the oldrecorded table<br class="">    isn't being consulted at all when considering which shows to<br class="">    record.  It does seem to be working for shows that are still in<br class="">    the recorded table.<br class=""><br class="">    MariaDB [mythconverg]> select<br class="">    title,subtitle,episode,seriesid,programid,duplicate from<br class="">    oldrecorded where subtitle like '%parade' order by title,subtitle;<br class="">+---------------+-----------------+---------+------------+----------------+-----------+<br class="">    | title         | subtitle        | episode | seriesid   |<br class="">    programid      | duplicate |<br class="">+---------------+-----------------+---------+------------+----------------+-----------+<br class="">    | Modern Family | I Love a Parade |       0 | EP01158124 |<br class="">    EP011581240251 |         0 |<br class="">    | Modern Family | I Love a Parade |       0 | EP01158124 |<br class="">    EP011581240251 |         0 |<br class="">    | Modern Family | I Love a Parade |       0 | EP01158124 |<br class="">    EP011581240251 |         0 |<br class="">+---------------+-----------------+---------+------------+----------------+-----------+<br class="">    3 rows in set (0.01 sec)<br class=""><br class=""></blockquote></blockquote></div></div></blockquote><div><br class=""></div><div>Another field to check is recstatus.  If I want to make sure that a recording will get recorded again, I set this field to -9 for recordings that I want to record.  Recstatus and duplicate control if a previous recording get recorded. If you don’t, the following page explains the old recorded table:</div><div><br class=""></div><div><a href="https://www.mythtv.org/wiki/Oldrecorded_table" class="">https://www.mythtv.org/wiki/Oldrecorded_table</a></div><div><br class=""></div><div>This link explains the values for recstatus: </div><div><br class=""></div><div><a href="https://github.com/MythTV/mythtv/blob/v0.27.3/mythtv/libs/libmyth/programtypes.h#L210" class="">https://github.com/MythTV/mythtv/blob/v0.27.3/mythtv/libs/libmyth/programtypes.h#L210</a></div><div><br class=""></div><div> I note that your duplicate field above is a value of 0 which tells mythtv to rerecord. If you don’t want them to re-record set them to 1. </div><div><br class=""></div><br class=""></div><br class=""></body></html>