[mythtv-commits] Ticket #2051: DVB EIT update updates wrong airdate values

MythTV mythtv at cvs.mythtv.org
Thu Jul 13 20:15:53 UTC 2006


#2051: DVB EIT update updates wrong airdate values
----------------------------------+-----------------------------------------
 Reporter:  otto at kolsi dot fi  |       Owner:  danielk
     Type:  defect                |      Status:  new    
 Priority:  minor                 |   Milestone:         
Component:  dvb                   |     Version:  head   
 Severity:  medium                |  
----------------------------------+-----------------------------------------
 With SVN 10490, DVB-T, FC4, mysql-4.1.20-1.FC4.1:

 When EIT info is updated to DB, airdate column gets skrewed. Below is one
 example of the update query where airdate column is updated with value
 '0'. When you update it like this, it actually gets value '2000'. Proper
 value to be used in update is '0000' which is used e.g. in
 DBEvent::UpdateDB(MSqlQuery &query, const DBEvent &match) in eit.cpp.

 At least one place where this failure occurs is that same function.
 lairdate seems to be empty and match.airdate not -> match.airdate is used
 in update and it probably is not properly initialized, contains value '0'
 or something like that.



 {{{
 2006-07-13 20:42:07.255 MSqlQuery: UPDATE program SET title = 'Kesäillan
 valssi',
 subtitle = '', description = 'Perinteiset tanssiaiset Seinäjoen
 Tangomarkkinoilta.
  Solistivieraana Topi Sorsakoski ja säestävänä orkesterina Varjokuva.
 Mukana
  myös uusi SM-voittaja Nelinpeli. Juontajina Sari Tamminen ja Kyösti
 Mäkimattila,
  tangon askeleet opetta', category = 'Show/game Show', category_type =
 'tvshow',
  starttime = '2006-07-13T21:00:00', endtime = '2006-07-13T21:46:49',
 closecaptioned
  = 0, subtitled = 1,stereo = 1, hdtv = 0, partnumber = 0, parttotal = 0,
 airdate
  = '0', originalairdate=NULL, listingsource = 1 WHERE chanid = 1033 AND
 starttime =
  '2006-07-13T21:00:00'
 }}}

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2051>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list