[mythtv-commits] Ticket #13057: Program title and/or description sometimes wrong

MythTV noreply at mythtv.org
Fri Jun 16 19:07:48 UTC 2017


#13057: Program title and/or description sometimes wrong
---------------------------------+--------------------------------
     Reporter:  klaas@…          |      Owner:  dekarl
         Type:  Patch - Bug Fix  |     Status:  new
     Priority:  minor            |  Milestone:  unknown
    Component:  MythTV - EIT     |    Version:  Master Head
     Severity:  low              |   Keywords:  EIT DVB-C UpdateDB
Ticket locked:  0                |
---------------------------------+--------------------------------
 MythTV guide data, as received from DVB-C, has incidentally a wrong
 program title and/or a wrong program description.
 Attached is a picture of my TV recordings, showing the program title "Live
 motorsport" (which is OK) with a description of a football match in South
 Korea (which is NOT OK).
 Attached is also a picture from the guide of the TV itself which shows the
 correct program description.
 This is caused by a few lines in libs/libmythtv/programdata.cpp that only
 accepts updates for title, subtitle and description fields of EPG data
 when the new EPG data for these field is LONGER than the previously
 received data for that field.
 This means that, for example, the broadcaster does change its programming
 and does change "Live Motorsport" to "Football" the title of the program
 will never change to "Football" in MythTV because the title is shorter. As
 a result, recording rules based on string pattern matching of title and/or
 description can fail to record the correct program.
 This bug has been in MythTV since about the year zero.

 Details:
 This happens in UpdateDB, starting at line 616.
 This function is called when existing program data is to be replaced by
 new data. In this function the old program data is updated on a field by
 field basis.
 Attached is a fixed version in which the new data completely replaces the
 old data.

 This has been tested with my DVB-C signal (Ziggo in The Netherlands) but
 it has not been tested with DVB-T or DVB-S.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13057>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list