tv_grab_uk_rt listings off by one hour since DST change
Jelte Veldstra <[email protected]>
| Newsgroups | gmane.comp.tv.xmltv.general |
|---|---|
| Message-ID | <CAB5oYKL+7o5jFYPixtC0rrGnQJeKVqqB4dcP7pCFxNgZNE=_Jg@mail.gmail.com> |
This issue has been reported before and I'm bitten by it too. I use tv_grab_uk_rt (0.5.61) next to tv_grab_nl_py on my CentOS 5/MythTV 0.24.1 box in The Netherlands. During CET/GMT the listings are fetched fine and the one hour difference between NL and UK is correctly accounted for. However after the change to CEST/BST, the one hour difference is not corrected. The result is that, for example, a programme that starts at 19.00 BST ends up in my guide at 19.00 CEST. Reading through the archives it seems all related to Perl 5.8.8 being used on CentOS 5. I have Perl Date::Manip 6.14 installed, but apparently with Perl versions below 5.10 it falls back to using the 5.x Date::Manip routines which have trouble doing proper timezone calculations. I'm not a programmer myself, but this is what I understood from reading into it. A workaround is suggested in the last post here: http://sourceforge.net/mailarchive/forum.php?thread_name=4D959ECA.6000004%40fnxweb.com&forum_name=xmltv-users, but unfortunately that is not working for me. When I try that I see this: 2012-03-28 17:23:56.224 Updating source #2 (RadioTimes) with grabber tv_grab_uk_rt 2012-03-28 17:23:56.225 Found 12 channels for source 2 which use grabber 2012-03-28 17:23:56.641 Grabber has capabilities: baseline manualconfig cache preferredmethod tkconfig apiconfig lineups 2012-03-28 17:23:57.055 Grabber prefers method: allatonce 2012-03-28 17:23:57.056 XMLTV config file is: /srv/mythtv/.mythtv/RadioTimes.xmltv Using old-style config file http://xmltv.radiotimes.com/xmltv/94.dat: got timezone +0200 from 201203281015 +0200, but it's not +0000, +0100 or UTC at /usr/lib/perl5/5.8.8/Memoize.pm line 247 2012-03-28 17:23:57.766 FillData, Error: xmltv returned error code 2304 2012-03-28 17:23:57.767 Error in 52:13: unexpected end of file 2012-03-28 17:23:57.768 IconData: Updating icons for sourceid: 2 2012-03-28 17:23:57.769 No programs found in data. 2012-03-28 17:23:57.794 Failed to fetch some program info in the logfile of Mythfilldatabase. It looks like it doesn't understand how to treat +0200/CEST. I installed Perl 5.14.2 from source next to Perl 5.8.8. This worked, but the new Perl doesn't have the XMLTV modules and probably needs other dependencies as well. Not being very experienced with these kind of things, I don't know how to add these dependencies without risking breaking the Perl 5.8.8 parts. I also read posts that suggested setting the hardware clock to UTC, but mine was already set to that. Is there another workaround available? Upgrading to CentOS 6 should do the trick, but unfortunately at the moment I don't have much time for that. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure