[mythtv-commits] Ticket #11541: EPG data end time fix ignores time zones

MythTV noreply at mythtv.org
Wed May 15 20:14:43 UTC 2013


#11541: EPG data end time fix ignores time zones
---------------------------------------+----------------------------
 Reporter:  m.a.zulliger@…             |          Owner:  stuartm
     Type:  Bug Report - General       |         Status:  new
 Priority:  minor                      |      Milestone:  unknown
Component:  MythTV - Mythfilldatabase  |        Version:  0.26-fixes
 Severity:  medium                     |     Resolution:
 Keywords:  Query convert to UTC       |  Ticket locked:  0
---------------------------------------+----------------------------

Comment (by m.a.zulliger@…):

 I have implemented the change as described and issue seems to be corrected
 in my case:

 {{{
 mysql> SELECT chanid, starttime, endtime, title FROM program WHERE
 starttime BETWEEN CONVERT_TZ('2013-05-17 22:10:00', 'SYSTEM', 'UTC') AND
 CONVERT_TZ('2013-05-18 23:59:59', 'SYSTEM', 'UTC') AND chanid = '10056'
 ORDER BY starttime LIMIT 6;
 +--------+---------------------+---------------------+------------------------+
 | chanid | starttime           | endtime             | title
 |
 +--------+---------------------+---------------------+------------------------+
 |  10056 | 2013-05-17 20:10:00 | 2013-05-17 22:05:00 | Rambo III
 |
 |  10056 | 2013-05-17 22:05:00 | 2013-05-17 23:00:00 | The Walking Dead
 |
 |  10056 | 2013-05-17 23:00:00 | 2013-05-17 22:05:00 | Sofortpartner
 |
 |  10056 | 2013-05-18 00:00:00 | 2013-05-18 01:00:00 | Sexy Live-Strip
 Girls  |
 |  10056 | 2013-05-18 01:00:00 | 2013-05-18 02:00:00 | Shop24Direct
 |
 |  10056 | 2013-05-18 02:00:00 | 2013-05-18 03:40:00 | Bauer, ledig,
 sucht... |
 +--------+---------------------+---------------------+------------------------+
 }}}

 I do not know which other xmltv grabbers do not provide the endtime (I use
 tv_grab_ch_search). I do not know if the fix proposed has any negative
 impacts on grabbers providing endtimes or for time zones running before
 UTC. Confirmation is needed, that this fix does not break things for
 others.

 I have been struggling to get this into a patch without all the makefile
 changes... Sorry again.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11541#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list