[mythtv-commits] Ticket #4436: Duplicate detection problem with descriptions method
MythTV
mythtv at cvs.mythtv.org
Sun Jan 6 06:45:20 UTC 2008
#4436: Duplicate detection problem with descriptions method
----------------------------------+-----------------------------------------
Reporter: otto at kolsi dot fi | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Mlocked: 0
----------------------------------+-----------------------------------------
Duplicate detection with descriptions method work mostly very well.
However, a series has been aired and I've recorded all the shows. Now it
is shown again and for this particular series, the duplicate detection
does not work for any of the episodes.
Following shows one current example episode in current program info and in
old recorded:
{{{
mysql> select * from program where description like 'Erikoinen suhde
2/2%'; select * from oldrecorded where description like 'Erikoinen suhde
2/2%';
+--------+---------------------+---------------------+----------------+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+---------------+---------+-------+-----------------+-----------------+--------+-----------+------+----------------+------------+-----------+----------+-----------------+----------+-----------+-------------------------+-----------+----------+---------+---------------+-------+------+
| chanid | starttime | endtime | title |
subtitle | description
| category | category_type | airdate | stars | previouslyshown |
title_pronounce | stereo | subtitled | hdtv | closecaptioned | partnumber
| parttotal | seriesid | originalairdate | showtype | colorcode |
syndicatedepisodenumber | programid | manualid | generic | listingsource |
first | last |
+--------+---------------------+---------------------+----------------+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+---------------+---------+-------+-----------------+-----------------+--------+-----------+------+----------------+------------+-----------+----------+-----------------+----------+-----------+-------------------------+-----------+----------+---------+---------------+-------+------+
| 1001 | 2008-01-12 23:30:00 | 2008-01-13 00:21:27 | Murhan jäljet |
| Erikoinen suhde 2/2. Boydin tutkimukset ärsyttävät jotain vallan
huipulla, ja miehen jokaista askelta seurataan tarkkaan. Myös murhan
entinen tutkinnanjohtaja on Boydille varsin tuttu. | Movie | movie
| 0000 | 0 | 1 | | 0 | 0
| 0 | 0 | 2 | 2 | | NULL
| | | | | 0 |
0 | 1 | 0 | 0 |
+--------+---------------------+---------------------+----------------+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+---------------+---------+-------+-----------------+-----------------+--------+-----------+------+----------------+------------+-----------+----------+-----------------+----------+-----------+-------------------------+-----------+----------+---------+---------------+-------+------+
+--------+---------------------+---------------------+----------------+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+----------+-----------+--------+----------+---------+---------+-----------+-----------+------------+---------+
| chanid | starttime | endtime | title |
subtitle | description
| category | seriesid | programid | findid | recordid | station | rectype
| duplicate | recstatus | reactivate | generic |
+--------+---------------------+---------------------+----------------+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+----------+-----------+--------+----------+---------+---------+-----------+-----------+------------+---------+
| 1001 | 2007-09-30 22:30:26 | 2007-09-30 23:21:53 | Murhan jäljet |
| Erikoinen suhde 2/2. Boydin tutkimukset ärsyttävät jotain vallan
huipulla, ja miehen jokaista askelta seurataan tarkkaan. Myös murhan
entinen tutkinnanjohtaja on Boydille varsin tuttu. | Movie | |
| 0 | 709 | YLE TV1 | 3 | 0 | -3 |
0 | 0 |
+--------+---------------------+---------------------+----------------+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+----------+-----------+--------+----------+---------+---------+-----------+-----------+------------+---------+
}}}
I've verified from the DB that descriptions are identical, with following
query:
{{{
mysql> select * from oldrecorded where description = (select description
from program where description like 'Erikoinen suhde 2/2%');
+--------+---------------------+---------------------+----------------+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+----------+-----------+--------+----------+---------+---------+-----------+-----------+------------+---------+
| chanid | starttime | endtime | title |
subtitle | description
| category | seriesid | programid | findid | recordid | station | rectype
| duplicate | recstatus | reactivate | generic |
+--------+---------------------+---------------------+----------------+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+----------+-----------+--------+----------+---------+---------+-----------+-----------+------------+---------+
| 1001 | 2007-09-30 22:30:26 | 2007-09-30 23:21:53 | Murhan jäljet |
| Erikoinen suhde 2/2. Boydin tutkimukset ärsyttävät jotain vallan
huipulla, ja miehen jokaista askelta seurataan tarkkaan. Myös murhan
entinen tutkinnanjohtaja on Boydille varsin tuttu. | Movie | |
| 0 | 709 | YLE TV1 | 3 | 0 | -3 |
0 | 0 |
+--------+---------------------+---------------------+----------------+----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+----------+-----------+--------+----------+---------+---------+-----------+-----------+------------+---------+
}}}
Following shows the backend scheduling print containing this episode:
{{{
--- print list start ---
Title - Subtitle Ch Station Day Start End S C I T N
Pri
...
Murhan jäljet 1 YLE TV1 12 23:30-00:21 1 3 3 A 3
18/0
...
--- print list end ---
}}}
I've noticed that if I manually change the ''duplicate'' field in in
oldrecorded from 0 to 1, then (naturally) dupdetection works.
I can do some debugging on my own but would need some guidance where to
look etc. This issue would be easier to fix sooner than later since right
now this particular series causes this problem to show up.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4436>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list