[mythtv-commits] Ticket #10120: PrePostRollFlagger results sometimes wrong
MythTV
noreply at mythtv.org
Tue Oct 25 14:28:50 UTC 2011
#10120: PrePostRollFlagger results sometimes wrong
-------------------------------------------+----------------------
Reporter: T.M.Speight.90@… | Owner: cpinkham
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Mythcommflag | Version: 0.24.1
Severity: medium | Keywords: commflag
Ticket locked: 0 |
-------------------------------------------+----------------------
I don't think I need to describe the symptoms with this patch, as it's
clearly a copy/paste error!
In short, I sometimes end up with skiplists such as:
`mysql> select mark,SEC_TO_TIME(mark/25) AS time,type,data from
recordedmarkup where chanid=1002 and starttime ='2011-10-25 00:29:00' AND
type IN (2,4,5) order by mark;`
{{{
+-------+----------+------+------+
| mark | time | type | data |
+-------+----------+------+------+
| 0 | 00:00:00 | 4 | NULL |
| 1581 | 00:01:03 | 4 | NULL |
| 98910 | 01:05:56 | 5 | NULL |
+-------+----------+------+------+
}}}
(The start of the second break has been set to the end of the first one,
overwriting it).
After applying this patch and re-running commflag, I get more sensible
results:
{{{
+-------+----------+------+------+
| mark | time | type | data |
+-------+----------+------+------+
| 0 | 00:00:00 | 4 | NULL |
| 1581 | 00:01:03 | 5 | NULL |
| 91682 | 01:01:07 | 4 | NULL |
| 98910 | 01:05:56 | 5 | NULL |
+-------+----------+------+------+
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10120>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list