Project

General

Profile

XMLTV rounding back an hour

Added by Jamie Collins about 8 years ago

Hi,

I have successfully installed TVHeadend on a Debian build with several DVB-T and DVB-S tuner cards.
All has been working well as I improve it, but I have come undone importing XMLTV for a few of my TV channels.

I am located in Victoria Australia where the time zone is +1000 UTC.
I use a grabber called shepherd - [[http://svn.whuffy.com]], which grabs from multiple websites to produce an amazing EPG and work well for five of the seven states I view TV from.
The problem happens when I grab data from South Australia and Northern Territory which are +1030 and +0930 respectively.

I am pulling my data in via sock, i.e., cat ~/.shepherd/output.xmltv | socat - UNIX-CONNECT:/home/hts/.hts/tvheadend/epggrab/xmltv.sock which works fine for all other states.
Time offset is set correctly in the XMTLV import file, but instead of TVheadend importing the file at +1030 UTC it still imports as +1000.

I have tried importing the XMLTV file as +1015, +1030 and +1045, but they all import as +1000
When I replaced the offset with +1100, the data imported fine as +1100, (one hour out).

I understand there is only a handful of places in the world with similar +0030 offset, so there might not be too many others in the same situation.
Is there a setting somewhere in TVheadend that might be preventing me import this time offset correctly?
Below is an example of the XMLTV file I am attempting to import.

<programme start="20160911103200 +1030" stop="20160911110200 +1030" channel="abc.sa.au">
<title lang="en">Australia Wide</title>
<desc lang="en">A long journey home. The pictures that tell a thousand words. Our future cities. The Choir of Hard Knoc$
<date>2016</date>

Thank you,

Jamie