[mythtv-commits] Ticket #12141: Fields season/episode/totalepisodes sometimes missing

MythTV noreply at mythtv.org
Mon May 12 19:53:35 UTC 2014


#12141: Fields season/episode/totalepisodes sometimes missing
----------------------------------+-----------------------------
     Reporter:  klaas.de.waal@…   |      Owner:
         Type:  Patch - Bug Fix   |     Status:  new
     Priority:  minor             |  Milestone:  unknown
    Component:  MythTV - General  |    Version:  Master Head
     Severity:  low               |   Keywords:  EPG xmltv guide
Ticket locked:  0                 |
----------------------------------+-----------------------------
 Comparing libs/libmythtv/programdata.cpp in the 0.27-fixes and in the
 master shows that in master four fields have been added in DBEvent and in
 database table program.
 Of these four fields only one, field inetref, is used everywhere.
 The other three fields: season, episode and totalepisodes are not used in
 DBEvent::UpdateDB, starting around line 590, and in
 ProgramData::IsUnchanged, starting around line 1392.
 This is possibly a bug.

 Attached is a patch for programdata.cpp that also includes season, episode
 and totalepisodes in DBEvent::UpdateDB and in ProgramData::IsUnchanged.
 This compiles and executes OK on my system.

 However, my EPG does not use these fields as far as I know so I have no
 way of knowing whether this is really a bug that is now fixed or that
 there is a reason to why these fields were not updated.

 For reference:

 The field inetref has been added by the following commit from Karl Dietz
 <dekarl at mythtv.org>:
 commit b64be0f8f83a4090f704e1c892e061ba3f67002c

 The fields season/episode/totalepisodes have been added by the following
 commits from Stuart Morgan <smorgan at mythtv.org>:
 commit 83ff754d1279f10f4dc80b91b87838d3c2bce6f9
 commit 3d0001d1e401ad54098871eb0edd36ba5be32b4f
 commit 838ca5c731940fbe4cdc589fa639d1ff89b27f1c

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


More information about the mythtv-commits mailing list