Feature #390
EPG time offset for selected channels
0%
Description
Could you please add feature to specify EPG time offset for selected channels? There are nine time zones in Russia, some channels broadcasted to regions using its localtime but EPG contains Moscow timezone only.
History
Updated by Adam Sutton over 12 years ago
- Assignee changed from Andreas Smas to Adam Sutton
I need to review this, I would have thought EIT data included info about absolute time of the broadcast.
Updated by Yura Scheglyuk over 12 years ago
Adam Sutton wrote:
I need to review this, I would have thought EIT data included info about absolute time of the broadcast.
I told about XMLTV EPG source.
Updated by Adam Sutton over 12 years ago
- Status changed from New to Rejected
Hi Yura,
You made no mention of the fact this related to XMLTV data, so I simply assumed you were talking about EIT data.
I've had a look at the TVH code (old and new) and timezone information is properly handled, if provided by XMLTV.
If the XMLTV script is failing to provide correct timezone info (and only providing localtime) then I'm afraid you'll need to contact the XMLTV script maintainer about that one.
Quoting from XMLTV DTD:
"All dates and times in this DTD follow the same format, loosely based
on ISO 8601. They can be 'YYYYMMDDhhmmss' or some initial
substring, for example if you only know the year and month you can
have 'YYYYMM'. You can also append a timezone to the end; if no
explicit timezone is given, UTC is assumed. Examples:
'200007281733 BST', '200209', '19880523083000 +0300'. (BST == +0100.)"
In other words either a timezone offset should be provided except where the time is already provided in UTC (in which case its optional).
It's worth noting that my new XMLTV interface will provide the ability for you to more easily control how XMLTV script is called and you could potentially perform some post processing yourself. But I don't think its right for TVH to try and "fix" broken scripts.
If you believe that the script is actually providing the timezone info and TVH is NOT properly handling that, please send me a sample output and I'll take a look.
Regards
Adam
Updated by mangoni antani almost 7 years ago
I have problems with the epg time.
I use tvh 4.2.3-20 ~ LibreELEC Tvh-addon v8.2.112 and I live in Italy (GMT +1); I import the xmltv file from www.epg-guide.com/it.gz. The tv programs have a difference of 1h. I tried to change EIT time offset, clear epg and restart but nothing.
Sorry for my English
Thank you
Updated by Jaroslav Kysela almost 7 years ago
Most probably the system time or time zone is incorrect.
Updated by mangoni antani almost 7 years ago
Thanks for the reply. Both the time and the timezone are correct in kodi.
Updated by mangoni antani almost 7 years ago
I think so. An example:
<program start = "20180113113500 +0100" stop = "20180113120000 +0100" channel = "Discovery Science HD Streaming">
The start of the program in EPG will be 11.35am, but really starts at 10.35am.
My UTC is +1.
Updated by Andreas Fornberg almost 7 years ago
+0111 in the xmlfile means you should not change anything.
In other words it should be 0 and not 1.
Updated by mangoni antani almost 7 years ago
So is it an error of the xml file? I will try to contact who generates the EPG. Thank you very much.
For now I have created a script that replaces the +0100 with +0200 .... so it works.
Updated by Andreas Fornberg almost 7 years ago
If you need to do that then it sounds like it's wrong in EPG file.