[mythtv-users] Duplicate matching doesn't seem to work with blank subtitle

Stephen Robertson stephengrobertson at gmail.com
Tue Nov 6 14:53:02 UTC 2007


I'm seeing something funny(I think) with duplicate matching when I
have a program that does not have a subtitle(For completeness I've
checked the database and by no subtitle I mean an empty string)

If there are two showings with identical descriptions and the
duplicate matching is set to subtitle and description then it will
record both showings.  If I change the duplicate matching to
description then it only schedules the one.

If I revert back to subtitle and description and then manually edit
the database and set the subtitle to to 'a' for both episodes then it
will record one showing as I would expect and again as I would expect
if I set one subtitle to 'a' and one to 'b' then they are both
scheduled.

Is this the expected behaviour?

I've been trying to have a look at the code but not really knowing how
it all fits together!  There is a part

(((RECTABLE.dupmethod & 0x02) = 0) OR (program.subtitle <> '' AND
program.subtitle = oldrecorded.subtitle)) "

where I think it will add a row to the results if it is either set
a)to not check the subtitle or b) the subtitle is non-empty and the
same as in the recorded table.  Maybe I have got that completely back
to front!

Thanks

Stephen.




More information about the mythtv-users mailing list