[SOLVED] EPG is not working well !
Added by Hed Wallace about 5 years ago
Hi mates,
I have an offset problem of 2 hours!
Example in http://ip:port/xmltv/channels
<programme start="20190906170000 +0200" stop="20190906180000 +0200" channel="ab2bdc0b93fa480a33fd284b676ead1a">
<title lang="spa">Telediario 1</title>
</programme>
EIT TIME OFFSET (in the network in TvHeadend): UTC+2 <= I have tried UTC, UTC-2, UTC+2, local (server) time
TIMEDATECTL
[root@localhost ~]# timedatectl
Local time: Fri 2019-09-06 13:57:00 CEST
Universal time: Fri 2019-09-06 11:57:00 UTC
RTC time: Fri 2019-09-06 13:57:02
Time zone: Europe/Madrid (CEST, +0200)
NTP enabled: yes
NTP synchronized: no
RTC in local TZ: no
DST active: yes
Last DST change: DST began at
Sun 2019-03-31 01:59:59 CET
Sun 2019-03-31 03:00:00 CEST
Next DST change: DST ends (the clock jumps one hour backwards) at
Sun 2019-10-27 02:59:59 CEST
Sun 2019-10-27 02:00:00 CET
I use the grabber WebGrab+Plus to download the EPG
My SO is: CentOS Linux release 7.2.1511 (Core)
The TVHeadend version is: HTS Tvheadend 4.2.2-8~g8ff5aa2.el7.centos
Can you help me to configure well?
Thanks a lot in advance
Replies (3)
RE: EPG is not working well ! - Added by Hed Wallace about 5 years ago
Solved! I write the steps just in case someone has the same problem:
I have edited the file: siteini.pack/Spain/movistarplus.es.ini with the timezone:
site {url=movistarplus.es|timezone=Europe/Madrid|maxdays=6|cultureinfo=es-ES|charset=UTF-8|titlematchfactor=90|nopageoverlaps|keepindexpage}
Change the EIT time offset: Local (server) time
And i have removed all the previous data:
rm -f /root/.hts/tvheadend/epggrab/xmltv/channels/*
rm -f /root/.wg++/guide.xml
And reboot the tvheadend:
service tvheadend restart
RE: [SOLVED] EPG is not working well ! - Added by M. Bergmann about 5 years ago
I am surprised that you experienced problemes although the locations of the broadcasting stations, the epg source and your own physical location seem to be within the same time zone (spain).
In case of movistarplus.es I am using nearly the same configuration, but instead of " Local (server) time
" I selected " UTC
" (I am located in Germany, but in fact Spain and Germany share the same time zone).
You should also take into account that the information from movistarplus.es [[http://www.movistarplus.es/programacion-tv]] differs sometimes from the information given by the broadcasting stations themselves [[https://www.mitele.es/directo/]] resp. [[https://www.atresplayer.com/programacion/]].
P.S.: Recently there has been a change in Webgrabplus how it handles the timezones: [[http://www.webgrabplus.com/content/times-time-zones-and-dst-corrections]]