Re: UK RT listings out by an hour since move to BST

Nick Morrott <[email protected]>
Newsgroups gmane.comp.tv.xmltv.general
Message-ID <[email protected]>
On 29 March 2011 13:06, Neil Bird <[email protected]> wrote:
> Around about 29/03/11 10:47, Neil Bird typed ...
>>     I'll have to do a raw fetch and see what that's giving me.
>
>   OK, for tomorrow night's Fringe on Sky One at 22:00 BST (so 21:00 GMT)
> XMLTV reports:
>
>   <programme start="20110330220000 +0100" stop="20110330230000 +0100"
> channel="sky-one.sky.com">
>     <title>Fringe</title>
>     <sub-title>Reciprocity</sub-title>
>
>   .. which I think is right.  My MythTV box says it's on at 21:00.  So far
> as usual date references go, the time given is localtime, with the localtime
> offset given as a supplementary field.  On my Linux box, the local and
> RFC-2822 date is:
>
> Tue Mar 29 12:58:01 BST 2011
> Tue, 29 Mar 2011 12:58:01 +0100
>
>
>   And Radio Times says it's on at “30/03/2011~22:00~23:00~60”.  So they're
> giving the time locally (BST) and I reckon the grabber's correcting for this.

The Radio Times feed has and does provide some explicit direction for
the correct UTC offset to apply to data when it is not clear from the
programme transmission times. Ordinarily the programme timings given
in the raw data are local UK time, but if a programme starts/finishes
at an ambiguous local time the RT normally provide a GMT/BST hint in
the programme title (which the grabber strips out but uses when
generating the UTC offset).

I fixed the grabber some years ago to correctly (as far as my testing
allowed at the time) handle the two changeover periods so that the
XMLTV data being produced was correct. Whether data consumers handle
them correctly is another matter.

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

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
xmltv-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmltv-users
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.