Hi mates,
I have an offset problem of 2 hours! The tv-show of 15:00 is shown at 17:00 :(
MY TIME ZONE:
Europe/Madrid
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
SERVER INFO
My SO is: CentOS Linux release 7.2.1511 (Core)
The TVHeadend version is: HTS Tvheadend 4.2.2-8~g8ff5aa2.el7.centos
WG++: 2.1
Mono version: Mono JIT compiler version 6.0.0.327 (tarball Thu Aug 29 19:32:35 UTC 2019)
I have attatched the required files in wegrabconfig.zip
Can you help me to configure well?
Thanks a lot in advance
look on the downloads page for WG2MP.exe
I assume tvheadend doesn't recognize the timeoffset in the xml data.
WG2Mp.exe will correct the epg data to your local time.
Hi @Blackbear199 thanks a lot for your time and help!
WG2Mp.exe ? does it work in linux?
Autoanswer: mono WG2MP.exe /root/.wg++/guide.xml /root/.wg++/guide2.xml
But the problema is how tvheadend catch this new file
how is tvheadend loading the original guide.xml?
just change it to use guide2.xml
I have changed the path in the script grabber:
#!/bin/bash
xmltv_file_location=~/.wg++/guide2.xml
And I have reboot the tvheadend and the same thing... no changes :(
I see the problem..
the timezone setting is wrong in your ini.edit the movistarplus.ini and on the site {xxx} line change.
timezone=UTC
to
timezone=Europe/Madrid
you don't need wg2mp.exe as the times were wrong from the beginning.
Yes!!!! Thanks you very much!! 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
Thanks you very much @Blackbear199