[mythtv-commits] Ticket #5667: Commercial autoskip/notify does not always recognize beginning of commbreak

MythTV mythtv at cvs.mythtv.org
Sat Sep 6 18:49:48 UTC 2008

#5667: Commercial autoskip/notify does not always recognize beginning of commbreak
 Reporter:  otto at kolsi dot fi  |        Owner:  ijr       
     Type:  defect                |       Status:  new       
 Priority:  minor                 |    Milestone:  unknown   
Component:  mythtv                |      Version:  0.21-fixes
 Severity:  medium                |   Resolution:            
  Mlocked:  0                     |  

Comment(by otto at kolsi dot fi):

 This problem should be easy for anyone to reproduce with following steps:

  * Set the merge short commbreaks setting to 0 since we will be using
 short breaks to demonstrate the problem.
  * Enable automatic commercial skipping in settings
  * Select a recording that either has not been commflagged or manually
 remove entries from the recordedmarkup table
  * Update recorded and recordedmarkup tables so that selected recording
 has following commbreaks. You need to know the starttime and chanid for
 that recording:
 insert into recordedmarkup (chanid, starttime, mark, type) values
 (1001, '2008-09-05 20:29:00.0', 0, 4),
 (1001, '2008-09-05 20:29:00.0', 5000, 5) ,
 (1001, '2008-09-05 20:29:00.0', 10000, 4),
 (1001, '2008-09-05 20:29:00.0', 12000, 5);

 update recorded set commflagged = 1 where starttime = '2008-09-05
  * This will enable you to have commercial break right in the beginning of
 the recording and then another little bit later
  * Start to watch the recording and in the beginning manually skip over
 the first commbreak (does not jump automatically, bug?)
  * Then let the recording play until the beginning of the second commbreak
 -> automatic skip does not occur
  * Re-start the recording playback and this time do not manually jump over
 the first commbreak -> automatic skip works as expected

Ticket URL: <http://svn.mythtv.org/trac/ticket/5667#comment:3>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list