[mythtv-commits] Ticket #11224: Duplicate recordings without manual resched - 0.26 regression
MythTV
noreply at mythtv.org
Mon Nov 12 20:32:48 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@…>):
I had to reconstruct the update query from the source, because the debug
doesn't display the bound params, but the select query does seem to return
rows. (I didn't run the update so that I can get extra info if you want)
I've disabled mythfilldatabase, and since the next recording of this is
Sat, this should give time to run any queries that you want.
The logging for update also doesn't seem to log how many rows were
updated, but the debug logs seem to show that no rows are updated.
{{{
Nov 13 01:00:01 guava mythlogserver: mythbackend[20229]: D Scheduler
mythdbcon.
cpp:689 (exec) MSqlQuery::exec(SchedCon) ''U''P''D''A''T''E''
''r''e''c''o''r''
d''m''a''t''c''h'' ''r''m'' ''I''N''N''E''R'' ''J''O''I''N''
''r''e''c''o''r''d
'' ''r'' '' '' '' '' '' '' ''O''N'' ''r''m''.''r''e''c''o''r''d''i''d''
''='' '
'r''.''r''e''c''o''r''d''i''d'' ''I''N''N''E''R'' ''J''O''I''N''
''p''r''o''g''
r''a''m'' ''p'' '' '' '' '' '' '' ''O''N'' ''r''m''.''c''h''a''n''i''d''
''=''
''p''.''c''h''a''n''i''d'' '' '' '' '' '' '' '' '' '' ''A''N''D''
''r''m''.''s'
't''a''r''t''t''i''m''e'' ''='' ''p''.''s''t''a''r''t''t''i''m''e'' '' ''
'' ''
'' '' '' '' '' ''A''N''D'' ''r''m''.''m''a''n''u''a''l''i''d'' ''=''
''p''.''m''a''n''u''a''l''i''d'' ''S''E''T''
''o''l''d''r''e''c''d''u''p''l''i''c''a''t''e'' ''='' ''-''1''
''W''H''E''R''E'' ''p''.''g''e''n''e''r''i''c'' ''='' ''0'' '' '' '' '' ''
'' ''A''N''D'' ''r''.''t''y''p''e'' ''N''O''T'' ''I''N'' ''(''1'',''
''7'','' ''8'')'' ''A''N''D'' ''p''.''t''i''t''l''e'' ''=''
'':''T''I''T''L''E'' ''A''N''D'' ''(''0'' ''O''R''
''p''.''s''u''b''t''i''t''l''e'' ''='' '':''S''U''B''T''I''T''L''E''
''O''R'' ''p''.''d''e''s''c''r''i''p''t''i''o''n'' ''=''
'':''S''U''B''T''I''T''L''E'' ''O''R''
''p''.''d''e''s''c''r''i''p''t''i''o''n'' ''='' '':''D''E''S''C''R''I''P''
''O''R'' ''p''.''s''u''b''t''i''t''l''e'' ''='' '':''D''E''S''C''R''I''P''
'')'' ''
mysql> select * from recordmatch rm INNER JOIN record r ON
rm.recordid=r.recordid inner join program p on rm.chanid=p.chanid and
rm.starttime=p.starttime and rm.manualid=p.manualid where p.generic=0 and
r.type not in (1,7,8) and p.title='Breaking Bad' AND (0 or
p.subtitle='Abq' or p.description='Abq')\G
*************************** 1. row ***************************
recordid: 249
chanid: 1022
starttime: 2012-11-12 13:03:00
manualid: 0
oldrecduplicate: 0
recduplicate: 0
findduplicate: 0
oldrecstatus: NULL
findid: 0
recordid: 249
type: 4
chanid: 0
starttime: 14:13:00
startdate: 2012-10-01
endtime: 15:00:00
enddate: 2012-10-01
title: Breaking Bad
subtitle: Mas
description: As Skyler reconsiders her objections to him
living back at home, Walt mulls over an offer to return to the drug trade.
Meanwhile, Hank's obsession with nailing Heisenberg promises trouble for
Jesse.
season: 3
episode: 5
category: drama
profile: Default
recpriority: -10
autoexpire: 1
maxepisodes: 0
maxnewest: 0
startoffset: 0
endoffset: 0
recgroup: Default
dupmethod: 8
dupin: 15
station:
seriesid: 215085156
programid:
inetref: 81189
search: 0
autotranscode: 1
autocommflag: 1
autouserjob1: 0
autouserjob2: 0
autouserjob3: 1
autouserjob4: 0
autometadata: 1
findday: 3
findtime: 00:13:00
findid: 735143
inactive: 0
parentid: 0
transcoder: 70
playgroup: Default
prefinput: 0
next_record: 2012-11-16 14:15:00
last_record: 2012-11-12 13:01:59
last_delete: 0000-00-00 00:00:00
storagegroup: Default
avg_delay: 100
filter: 0
chanid: 1022
starttime: 2012-11-12 13:03:00
endtime: 2012-11-12 13:50:00
title: Breaking Bad
subtitle: Abq
description: As Hank is unhappy with the pace of his recovery,
and Skyler questions Saul's money-laundering scheme, Jesse falls for a
fellow rehab patient who he learns is tied to the murder of his late
friend, Combo.
category: drama
category_type:
airdate: 2012
stars: 0
previouslyshown: 1
title_pronounce:
stereo: 0
subtitled: 1
hdtv: 0
closecaptioned: 0
partnumber: 0
parttotal: 0
seriesid: 215085156
originalairdate: NULL
showtype:
colorcode:
syndicatedepisodenumber:
programid:
manualid: 0
generic: 0
listingsource: 4
first: 1
last: 0
audioprop:
subtitletypes: NORMAL
videoprop: WIDESCREEN
*************************** 2. row ***************************
recordid: 249
chanid: 1022
starttime: 2012-11-16 14:15:00
manualid: 0
oldrecduplicate: 0
recduplicate: 0
findduplicate: 0
oldrecstatus: NULL
findid: 0
recordid: 249
type: 4
chanid: 0
starttime: 14:13:00
startdate: 2012-10-01
endtime: 15:00:00
enddate: 2012-10-01
title: Breaking Bad
subtitle: Mas
description: As Skyler reconsiders her objections to him
living back at home, Walt mulls over an offer to return to the drug trade.
Meanwhile, Hank's obsession with nailing Heisenberg promises trouble for
Jesse.
season: 3
episode: 5
category: drama
profile: Default
recpriority: -10
autoexpire: 1
maxepisodes: 0
maxnewest: 0
startoffset: 0
endoffset: 0
recgroup: Default
dupmethod: 8
dupin: 15
station:
seriesid: 215085156
programid:
inetref: 81189
search: 0
autotranscode: 1
autocommflag: 1
autouserjob1: 0
autouserjob2: 0
autouserjob3: 1
autouserjob4: 0
autometadata: 1
findday: 3
findtime: 00:13:00
findid: 735143
inactive: 0
parentid: 0
transcoder: 70
playgroup: Default
prefinput: 0
next_record: 2012-11-16 14:15:00
last_record: 2012-11-12 13:01:59
last_delete: 0000-00-00 00:00:00
storagegroup: Default
avg_delay: 100
filter: 0
chanid: 1022
starttime: 2012-11-16 14:15:00
endtime: 2012-11-16 15:00:00
title: Breaking Bad
subtitle: Abq
description: As Hank is unhappy with the pace of his recovery,
and Skyler questions Saul's money-laundering scheme, Jesse falls for a
fellow rehab patient who he learns is tied to the murder of his late
friend, Combo.
category: drama
category_type:
airdate: 2012
stars: 0
previouslyshown: 1
title_pronounce:
stereo: 0
subtitled: 1
hdtv: 0
closecaptioned: 0
partnumber: 0
parttotal: 0
seriesid: 215085156
originalairdate: NULL
showtype:
colorcode:
syndicatedepisodenumber:
programid:
manualid: 0
generic: 0
listingsource: 4
first: 0
last: 1
audioprop:
subtitletypes: NORMAL
videoprop: WIDESCREEN
2 rows in set (0.00 sec)
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11224#comment:10>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list