Re: tv_grab_uk_rt listings off by one hour since DST change

Nick Morrott <[email protected]>
Newsgroups gmane.comp.tv.xmltv.general
Message-ID <CAOQWjw3wgx8pTY9RTe+WLTVCTjQH+-YpgCfUOH4dCc4aOnro7g@mail.gmail.com>
On 28 March 2012 18:34, Jelte Veldstra <[email protected]> wrote:
> 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.

<snip>

> 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.

Hi Jelte,

Since 0.5.61 was released (last year) I have replaced all Date::Manip
usage in uk_rt with DateTime alternatives. In addition to hopefully
curing the DM-related issues once and for all, it has also resulted in
a ~7x speedup of the grabber.

In the current CVS version of the grabber, programme timings are
determined using the Europe/London timezone unless explicit GMT/BST
timezone information is seen in the data.

Please try current XMLTV CVS and see whether you get correct programme
timings using the standard version of Perl on CentOS 5. Aside from the
CentOS issue,  it's particularly helpful to hear from users outside
the GMT/BST timezones who use the grabber, so thanks for the report.

Cheers,
Nick

-- 
Nick Morrott

MythTV Official wiki: http://mythtv.org/wiki/
MythTV users list archive: http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.