[mythtv-commits] Ticket #11914: EIT/EPG improvements for DVB-C

MythTV noreply at mythtv.org
Thu Mar 20 22:07:39 UTC 2014


#11914: EIT/EPG improvements for DVB-C
---------------------------------+----------------------------
 Reporter:  klaas.de.waal@…      |          Owner:  dekarl
     Type:  Patch - Bug Fix      |         Status:  new
 Priority:  minor                |      Milestone:  unknown
Component:  MythTV - EIT         |        Version:  0.27-fixes
 Severity:  medium               |     Resolution:
 Keywords:  EIT EPG DVB-C Ziggo  |  Ticket locked:  0
---------------------------------+----------------------------

Comment (by klaas.de.waal@…):

 The simplified approach in which all overlapping or conflicting programs
 were deleted did in the end lead to a lot of "holes" (shown as "unknown")
 in the EPG. To fix this I have put back the original code that does the
 adjustment of start- and endtimes of the adjacent programs. In order to be
 able to completely trace what is happening to each EIT update I have added
 a lot of debug output that appears when mythbackend is started with the
 "-v general,eit --loglevel debug" options.
 The changes in this version of programdata.cpp, compared with today's
 0.27-fixes version, are:
 - The patch described in and attached to ticket #10136 to prevent the
 database errors
 - Do not insert or update programs that are completely in the past
 - Extended the query to find overlapping programs to include the case
 where the new program is completely "inside" an existing program
 - Do not update a program with a modified starttime when the starttime is
 in the past. This solves the problem that changing the starttime of a
 program that is already being recorded causes another recording of the
 same program.
 - In the debug log output, standardize the program names to be always
 truncated to 35 characters and to be always within single quotes.
 Previously it was sometimes the full program name and sometimes truncated
 to 30 characters, and sometimes between single quotes and sometimes not.
 - Added lots of comments.
 The above contains only fixes that IMHO cannot cause problems with other
 EIT/EPG sources. Of course, this should be tested by somebody as I can
 only test against the Ziggo DVB-C cable TV signal.
 There will be two files attached: programdata.cpp.diff.v10 which is the
 result of the "git diff" command, and the complete source file
 programdata.cpp.v10.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/11914#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list