[mythtv] [mythtv-commits] Ticket #4436: Duplicate detection problem with descriptions method
Michael T. Dean
mtdean at thirdcontact.com
Wed Jan 23 03:51:43 UTC 2008
On 01/22/2008 03:42 PM, MythTV wrote:
> #4436: Duplicate detection problem with descriptions method
>
>
> I did dump couple of weeks ago (6.1.) relevant parts of oldrecorded table
> to file and there one particular episode of this series had duplicate
> value 1. After that, this same episode has now become again available
> through EIT and now that I look oldrecorded this episode has duplicate
> value 0!
>
> I definitely have not used "delete & re-record", especially for this
> episode during last couple of weeks. I have special Deleted recgroup in
> use instead of immediate deleting and it might be that this episode has
> been auto-expired from the Deleted group during this period. Don't know if
> this has anything to do with this..
>
> Anyway, something strange is happening. I've enabled database logging in
> backend log and I'll probably add nightly cron dump of relevant parts of
> the program, recorded and oldrecorded tables to see if I can spot
> something. I'll reopen the ticket if/when I have more info or logs
> available.
>
I'm pretty sure anything that is autoexpired is deleted and marked to
allow re-record (i.e. duplicate is set to 0) unless you have disabled
the setting:
Re-record watched programs
If set, programs that have been marked as watched and are auto-expired
will be re-recorded if they are shown again.
in which case it will not be set to allow re-record if you have watched
the episode or marked it as watched. It looks like you could disable
this for shows in the Deleted recgroup by adding the appropriate check
around line 671 of programs/mythbackend/mainserver.cpp . That seems
like it would make sense as the user who deletes a show to the Deleted
recgroup is allowed to choose "Delete" or "Delete and allow re-record".
Note that I haven't tested this and only looked at the code briefly, so
I may be way off mark.
HTH,
Mike
More information about the mythtv-dev
mailing list