[mythtv-commits] Ticket #11224: Duplicate recordings without manual resched - 0.26 regression
MythTV
noreply at mythtv.org
Sun Nov 11 03:47:50 UTC 2012
#11224: Duplicate recordings without manual resched - 0.26 regression
--------------------------------------+----------------------------
Reporter: Bradley Baetz <bbaetz@…> | Owner: gigem
Type: Bug Report - General | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - Scheduling | Version: 0.26-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
--------------------------------------+----------------------------
Comment (by Bradley Baetz <bbaetz@…>):
OK, applied (on top of the previous patch). I looked in the guide for
something that should trigger this, and created a new rule for JAG (id
298). The episode is scheduled for 1pm today with a repeat at 1am tomorrow
(UTC+11). (There are also some other records for every other day in the
week that you'll see in the logs, but note that these don't have any
repeats scheduled)
I'll attach the backend log too.
Before the recording started:
{{{
mysql> select * from record where recordid=298\G
*************************** 1. row ***************************
recordid: 298
type: 4
chanid: 1011
starttime: 02:00:00
startdate: 2012-11-11
endtime: 03:00:00
enddate: 2012-11-11
title: JAG
subtitle: Baby, It's Cold Outside
description: Former fighter pilot Captain Harmon 'Harm' Rabb and his
team of lawyers are charged with the duty of investigating and litigating
crimes committed by marine and navy personnel.
season: 6
episode: 11
category: drama
profile: Default
recpriority: 0
autoexpire: 1
maxepisodes: 0
maxnewest: 0
startoffset: 0
endoffset: 0
recgroup: Default
dupmethod: 8
dupin: 15
station: ELEVEN
seriesid: 20055
programid:
inetref: 73710
search: 0
autotranscode: 0
autocommflag: 0
autouserjob1: 0
autouserjob2: 0
autouserjob3: 0
autouserjob4: 0
autometadata: 1
findday: 1
findtime: 13:00:00
findid: 735183
inactive: 0
parentid: 0
transcoder: 70
playgroup: Default
prefinput: 0
next_record: 2012-11-11 02:00:00
last_record: 0000-00-00 00:00:00
last_delete: 0000-00-00 00:00:00
storagegroup: Default
avg_delay: 100
filter: 0
1 row in set (0.00 sec)
mysql> select recordid, chanid, starttime, manualid, oldrecduplicate,
recduplicate, findduplicate, oldrecstatus, findid from recordmatch where
recordid=298 order by starttime, chanid;
+----------+--------+---------------------+----------+-----------------+--------------+---------------+--------------+--------+
| recordid | chanid | starttime | manualid | oldrecduplicate |
recduplicate | findduplicate | oldrecstatus | findid |
+----------+--------+---------------------+----------+-----------------+--------------+---------------+--------------+--------+
| 298 | 1011 | 2012-11-11 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-11 14:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-12 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-13 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-14 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-15 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-16 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-17 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-18 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
+----------+--------+---------------------+----------+-----------------+--------------+---------------+--------------+--------+
9 rows in set (0.00 sec)
mysql> select * from record where title='JAG' and subtitle = "Baby, It's
Cold Outside"\G*************************** 1. row
***************************
recordid: 298
type: 4
chanid: 1011
starttime: 02:00:00
startdate: 2012-11-11
endtime: 03:00:00
enddate: 2012-11-11
title: JAG
subtitle: Baby, It's Cold Outside
description: Former fighter pilot Captain Harmon 'Harm' Rabb and his
team of lawyers are charged with the duty of investigating and litigating
crimes committed by marine and navy personnel.
season: 6
episode: 11
category: drama
profile: Default
recpriority: 0
autoexpire: 1
maxepisodes: 0
maxnewest: 0
startoffset: 0
endoffset: 0
recgroup: Default
dupmethod: 8
dupin: 15
station: ELEVEN
seriesid: 20055
programid:
inetref: 73710
search: 0
autotranscode: 0
autocommflag: 0
autouserjob1: 0
autouserjob2: 0
autouserjob3: 0
autouserjob4: 0
autometadata: 1
findday: 1
findtime: 13:00:00
findid: 735183
inactive: 0
parentid: 0
transcoder: 70
playgroup: Default
prefinput: 0
next_record: 2012-11-11 02:00:00
last_record: 0000-00-00 00:00:00
last_delete: 0000-00-00 00:00:00
storagegroup: Default
avg_delay: 100
filter: 0
1 row in set (0.00 sec)
mysql> select * from oldrecorded where title='JAG' and subtitle = "Baby,
It's Cold Outside"\G*************************** 1. row
***************************
chanid: 1011
starttime: 2012-11-11 02:00:00
endtime: 2012-11-11 03:00:00
title: JAG
subtitle: Baby, It's Cold Outside
description: Former fighter pilot Captain Harmon 'Harm' Rabb and his team
of lawyers are charged with the duty of investigating and litigating
crimes committed by marine and navy personnel.
season: 0
episode: 0
category: drama
seriesid: 20055
programid:
inetref: 73710
findid: 0
recordid: 298
station: ELEVEN
rectype: 4
duplicate: 0
recstatus: -1
reactivate: 0
generic: 0
future: 1
*************************** 2. row ***************************
chanid: 1011
starttime: 2012-11-11 14:00:00
endtime: 2012-11-11 15:00:00
title: JAG
subtitle: Baby, It's Cold Outside
description: Former fighter pilot Captain Harmon 'Harm' Rabb and his team
of lawyers are charged with the duty of investigating and litigating
crimes committed by marine and navy personnel.
season: 0
episode: 0
category: drama
seriesid: 20055
programid:
inetref: 73710
findid: 0
recordid: 298
station: ELEVEN
rectype: 4
duplicate: 0
recstatus: 4
reactivate: 0
generic: 0
future: 1
2 rows in set (0.01 sec)
$ mythbackend --printsched | grep "Baby, It's Cold"
2012-11-11 12:43:22.903779 I JAG - Baby, It's Cold Outside 11
ELEVEN 11 13:00-14:00 1 1 1 A 1 0
2012-11-11 12:43:22.904373 I JAG - Baby, It's Cold Outside 11
ELEVEN 12 01:00-02:00 1 0 0 A E 0
}}}
After recording has started:
{{{
mysql> select recordid, chanid, starttime, manualid, oldrecduplicate,
recduplicate, findduplicate, oldrecstatus, findid from recordmatch where
recordid=298 order by starttime, chanid;
+----------+--------+---------------------+----------+-----------------+--------------+---------------+--------------+--------+
| recordid | chanid | starttime | manualid | oldrecduplicate |
recduplicate | findduplicate | oldrecstatus | findid |
+----------+--------+---------------------+----------+-----------------+--------------+---------------+--------------+--------+
| 298 | 1011 | 2012-11-11 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-11 14:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-12 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-13 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-14 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-15 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-16 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-17 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-18 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
+----------+--------+---------------------+----------+-----------------+--------------+---------------+--------------+--------+
9 rows in set (0.00 sec)
mysql> select * from record where title='JAG' and subtitle = "Baby, It's
Cold Outside"\G*************************** 1. row
***************************
recordid: 298
type: 4
chanid: 1011
starttime: 02:00:00
startdate: 2012-11-11
endtime: 03:00:00
enddate: 2012-11-11
title: JAG
subtitle: Baby, It's Cold Outside
description: Former fighter pilot Captain Harmon 'Harm' Rabb and his
team of lawyers are charged with the duty of investigating and litigating
crimes committed by marine and navy personnel.
season: 6
episode: 11
category: drama
profile: Default
recpriority: 0
autoexpire: 1
maxepisodes: 0
maxnewest: 0
startoffset: 0
endoffset: 0
recgroup: Default
dupmethod: 8
dupin: 15
station: ELEVEN
seriesid: 20055
programid:
inetref: 73710
search: 0
autotranscode: 0
autocommflag: 0
autouserjob1: 0
autouserjob2: 0
autouserjob3: 0
autouserjob4: 0
autometadata: 1
findday: 1
findtime: 13:00:00
findid: 735183
inactive: 0
parentid: 0
transcoder: 70
playgroup: Default
prefinput: 0
next_record: 2012-11-12 02:00:00
last_record: 2012-11-11 01:58:58
last_delete: 0000-00-00 00:00:00
storagegroup: Default
avg_delay: 100
filter: 0
1 row in set (0.00 sec)
mysql> select * from oldrecorded where title='JAG' and subtitle = "Baby,
It's Cold Outside"\G*************************** 1. row
***************************
chanid: 1011
starttime: 2012-11-11 02:00:00
endtime: 2012-11-11 03:00:00
title: JAG
subtitle: Baby, It's Cold Outside
description: Former fighter pilot Captain Harmon 'Harm' Rabb and his team
of lawyers are charged with the duty of investigating and litigating
crimes committed by marine and navy personnel.
season: 0
episode: 0
category: drama
seriesid: 20055
programid:
inetref: 73710
findid: 0
recordid: 298
station: ELEVEN
rectype: 4
duplicate: 0
recstatus: -2
reactivate: 0
generic: 0
future: 0
*************************** 2. row ***************************
chanid: 1011
starttime: 2012-11-11 14:00:00
endtime: 2012-11-11 15:00:00
title: JAG
subtitle: Baby, It's Cold Outside
description: Former fighter pilot Captain Harmon 'Harm' Rabb and his team
of lawyers are charged with the duty of investigating and litigating
crimes committed by marine and navy personnel.
season: 0
episode: 0
category: drama
seriesid: 20055
programid:
inetref: 73710
findid: 0
recordid: 298
station: ELEVEN
rectype: 4
duplicate: 0
recstatus: 4
reactivate: 0
generic: 0
future: 1
2 rows in set (0.00 sec)
$ mythbackend --printsched | grep "Baby, It's Cold"
2012-11-11 13:02:06.816920 I JAG - Baby, It's Cold Outside 11
ELEVEN 11 12:59-14:00 1 1 1 A 1 0
2012-11-11 13:02:06.817448 I JAG - Baby, It's Cold Outside 11
ELEVEN 12 01:00-02:00 1 0 0 A E 0
}}}
After its finished:
{{{
mysql> select * from record where title='JAG' and subtitle = "Baby, It's
Cold Outside"\G
*************************** 1. row ***************************
recordid: 298
type: 4
chanid: 1011
starttime: 02:00:00
startdate: 2012-11-11
endtime: 03:00:00
enddate: 2012-11-11
title: JAG
subtitle: Baby, It's Cold Outside
description: Former fighter pilot Captain Harmon 'Harm' Rabb and his
team of lawyers are charged with the duty of investigating and litigating
crimes committed by marine and navy personnel.
season: 6
episode: 11
category: drama
profile: Default
recpriority: 0
autoexpire: 1
maxepisodes: 0
maxnewest: 0
startoffset: 0
endoffset: 0
recgroup: Default
dupmethod: 8
dupin: 15
station: ELEVEN
seriesid: 20055
programid:
inetref: 73710
search: 0
autotranscode: 0
autocommflag: 0
autouserjob1: 0
autouserjob2: 0
autouserjob3: 0
autouserjob4: 0
autometadata: 1
findday: 1
findtime: 13:00:00
findid: 735183
inactive: 0
parentid: 0
transcoder: 70
playgroup: Default
prefinput: 0
next_record: 2012-11-11 14:00:00
last_record: 2012-11-11 01:58:58
last_delete: 0000-00-00 00:00:00
storagegroup: Default
avg_delay: 100
filter: 0
1 row in set (0.00 sec)
mysql> select * from oldrecorded where title='JAG' and subtitle = "Baby,
It's Cold Outside"\G
*************************** 1. row ***************************
chanid: 1011
starttime: 2012-11-11 02:00:00
endtime: 2012-11-11 03:00:00
title: JAG
subtitle: Baby, It's Cold Outside
description: Former fighter pilot Captain Harmon 'Harm' Rabb and his team
of lawyers are charged with the duty of investigating and litigating
crimes committed by marine and navy personnel.
season: 0
episode: 0
category: drama
seriesid: 20055
programid:
inetref: 73710
findid: 0
recordid: 298
station: ELEVEN
rectype: 4
duplicate: 1
recstatus: -3
reactivate: 0
generic: 0
future: 0
*************************** 2. row ***************************
chanid: 1011
starttime: 2012-11-11 14:00:00
endtime: 2012-11-11 15:00:00
title: JAG
subtitle: Baby, It's Cold Outside
description: Former fighter pilot Captain Harmon 'Harm' Rabb and his team
of lawyers are charged with the duty of investigating and litigating
crimes committed by marine and navy personnel.
season: 0
episode: 0
category: drama
seriesid: 20055
programid:
inetref: 73710
findid: 0
recordid: 298
station: ELEVEN
rectype: 4
duplicate: 0
recstatus: -1
reactivate: 0
generic: 0
future: 1
2 rows in set (0.00 sec)
mysql> select recordid, chanid, starttime, manualid, oldrecduplicate,
recduplicate, findduplicate, oldrecstatus, findid from recordmatch where
recordid=298 order by starttime, chanid;
+----------+--------+---------------------+----------+-----------------+--------------+---------------+--------------+--------+
| recordid | chanid | starttime | manualid | oldrecduplicate |
recduplicate | findduplicate | oldrecstatus | findid |
+----------+--------+---------------------+----------+-----------------+--------------+---------------+--------------+--------+
| 298 | 1011 | 2012-11-11 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-11 14:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-12 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-13 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-14 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-15 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-16 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-17 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-18 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
+----------+--------+---------------------+----------+-----------------+--------------+---------------+--------------+--------+
9 rows in set (0.00 sec)
$ mythbackend --printsched | grep "Baby, It's Cold"
2012-11-11 14:45:48.501864 I JAG - Baby, It's Cold Outside 11
ELEVEN 12 01:00-02:00 1 1 1 A 1 0
}}}
After a resched:
{{{
mysql> select recordid, chanid, starttime, manualid, oldrecduplicate,
recduplicate, findduplicate, oldrecstatus, findid from recordmatch where
recordid=298 order by starttime, chanid;
+----------+--------+---------------------+----------+-----------------+--------------+---------------+--------------+--------+
| recordid | chanid | starttime | manualid | oldrecduplicate |
recduplicate | findduplicate | oldrecstatus | findid |
+----------+--------+---------------------+----------+-----------------+--------------+---------------+--------------+--------+
| 298 | 1011 | 2012-11-11 02:00:00 | 0 | 1 |
1 | 0 | -3 | 0 |
| 298 | 1011 | 2012-11-11 14:00:00 | 0 | 1 |
1 | 0 | -3 | 0 |
| 298 | 1011 | 2012-11-12 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-13 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-14 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-15 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-16 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-17 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
| 298 | 1011 | 2012-11-18 02:00:00 | 0 | 0 |
0 | 0 | NULL | 0 |
+----------+--------+---------------------+----------+-----------------+--------------+---------------+--------------+--------+
9 rows in set (0.00 sec)
mysql> select * from record where title='JAG' and subtitle = "Baby, It's
Cold Outside"\G*************************** 1. row
***************************
recordid: 298
type: 4
chanid: 1011
starttime: 02:00:00
startdate: 2012-11-11
endtime: 03:00:00
enddate: 2012-11-11
title: JAG
subtitle: Baby, It's Cold Outside
description: Former fighter pilot Captain Harmon 'Harm' Rabb and his
team of lawyers are charged with the duty of investigating and litigating
crimes committed by marine and navy personnel.
season: 6
episode: 11
category: drama
profile: Default
recpriority: 0
autoexpire: 1
maxepisodes: 0
maxnewest: 0
startoffset: 0
endoffset: 0
recgroup: Default
dupmethod: 8
dupin: 15
station: ELEVEN
seriesid: 20055
programid:
inetref: 73710
search: 0
autotranscode: 0
autocommflag: 0
autouserjob1: 0
autouserjob2: 0
autouserjob3: 0
autouserjob4: 0
autometadata: 1
findday: 1
findtime: 13:00:00
findid: 735183
inactive: 0
parentid: 0
transcoder: 70
playgroup: Default
prefinput: 0
next_record: 2012-11-12 02:00:00
last_record: 2012-11-11 01:58:58
last_delete: 0000-00-00 00:00:00
storagegroup: Default
avg_delay: 100
filter: 0
1 row in set (0.00 sec)
mysql> select * from oldrecorded where title='JAG' and subtitle = "Baby,
It's Cold Outside"\G*************************** 1. row
***************************
chanid: 1011
starttime: 2012-11-11 02:00:00
endtime: 2012-11-11 03:00:00
title: JAG
subtitle: Baby, It's Cold Outside
description: Former fighter pilot Captain Harmon 'Harm' Rabb and his team
of lawyers are charged with the duty of investigating and litigating
crimes committed by marine and navy personnel.
season: 0
episode: 0
category: drama
seriesid: 20055
programid:
inetref: 73710
findid: 0
recordid: 298
station: ELEVEN
rectype: 4
duplicate: 1
recstatus: -3
reactivate: 0
generic: 0
future: 0
*************************** 2. row ***************************
chanid: 1011
starttime: 2012-11-11 14:00:00
endtime: 2012-11-11 15:00:00
title: JAG
subtitle: Baby, It's Cold Outside
description: Former fighter pilot Captain Harmon 'Harm' Rabb and his team
of lawyers are charged with the duty of investigating and litigating
crimes committed by marine and navy personnel.
season: 0
episode: 0
category: drama
seriesid: 20055
programid:
inetref: 73710
findid: 0
recordid: 298
station: ELEVEN
rectype: 4
duplicate: 0
recstatus: 3
reactivate: 0
generic: 0
future: 1
2 rows in set (0.00 sec)
$ mythbackend --printsched | grep "Baby, It's Cold"
2012-11-11 14:46:55.556292 I JAG - Baby, It's Cold Outside 11
ELEVEN 12 01:00-02:00 1 0 0 A R 0
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11224#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list