[mythtv-users] Video flagged with mythcommflag shows as "not flagged".

Andrew Dodd atd7 at cornell.edu
Thu Feb 12 16:57:17 EST 2004


I'm having a weird problem that I can't figure out.

For some reason, any video I've flagged with mythcommflag (I changed detection
methods because spurious noise wreaks havoc with blank frame detection) shows as
"not flagged" when I try to skip commercials in 0.14.

The flags are definately there - the commflagged attribute in the recorded table
is 1 for the particular show, and in addition, the flags are in the database:

mysql> select * from recordedmarkup where chanid=1002 and
starttime=20040206210000 and type=4;
+--------+----------------+--------+--------+------+
| chanid | starttime      | mark   | offset | type |
+--------+----------------+--------+--------+------+
|   1002 | 20040206210000 |     85 | NULL   |    4 |
|   1002 | 20040206210000 |   4195 | NULL   |    4 |
|   1002 | 20040206210000 |  26577 | NULL   |    4 |
|   1002 | 20040206210000 |  41492 | NULL   |    4 |
|   1002 | 20040206210000 |  46277 | NULL   |    4 |
|   1002 | 20040206210000 |  48687 | NULL   |    4 |
|   1002 | 20040206210000 |  74702 | NULL   |    4 |
|   1002 | 20040206210000 | 103538 | NULL   |    4 |
+--------+----------------+--------+--------+------+
8 rows in set (0.10 sec)

And:
mysql> select * from recordedmarkup where chanid=1002 and
starttime=20040206210000 and type=5;
+--------+----------------+--------+--------+------+
| chanid | starttime      | mark   | offset | type |
+--------+----------------+--------+--------+------+
|   1002 | 20040206210000 |   2908 | NULL   |    5 |
|   1002 | 20040206210000 |  10249 | NULL   |    5 |
|   1002 | 20040206210000 |  31589 | NULL   |    5 |
|   1002 | 20040206210000 |  42925 | NULL   |    5 |
|   1002 | 20040206210000 |  47414 | NULL   |    5 |
|   1002 | 20040206210000 |  54605 | NULL   |    5 |
|   1002 | 20040206210000 |  82718 | NULL   |    5 |
|   1002 | 20040206210000 | 107782 | NULL   |    5 |
+--------+----------------+--------+--------+------+
8 rows in set (0.09 sec)

I've looked through the code that loads the flags, and I'm completely baffled as
to why the videos still show as "not flagged" when I try to skip during playback.

For whatever reason, shows that were successfully flagged automatically by the
backend after recording are fine.  Only recordings that were flagged by
mythcommflag have this problem...




More information about the mythtv-users mailing list