You are here

Problem, EPG shift

15 posts / 0 new
Last post
c_lam_2003
Offline
c_lam_2003's picture
Donator
Joined: 1 year
Last seen: 1 year
Problem, EPG shift

Hello all,

I use WG++ to grab Fuji TV's EPG from tvguide.myjcom.jp. Script execute successfully, but the start/end time shift 1 whole day. e.g. the program

うる星やつら<ノイタミナ> #22[字]

3月17日(金) 00:55~01:25

i.e. 17 March 2023 00:55~01:25

But the start/end time in the guide.xml become
programme start="20230318005500 +0900" stop="20230318012500 +0900"...

Shift 1 whole day from the original program schedule!!! How to fix this ? Thanks.

Regds
LAM Chi-fung

mat8861
Offline
WG++ Team memberDonator
Joined: 8 years
Last seen: 10 hours

If your player doesn't change time, you may want to use https://github.com/SilentButeo2/webgrabplus-siteinipack/tree/master/post...
will fix all your channels to local time.
We will review it soon

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 6 hours

what is the site_id="xxxx" value for this channel

c_lam_2003
Offline
c_lam_2003's picture
Donator
Joined: 1 year
Last seen: 1 year

The whole line is:
channel site="tvguide.myjcom.jp" site_id="2_1056_32740" update="i" xmltv_id="フジテレビ">Fuji Tv

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 6 hours

there are better ini but the timezone= setting on the site {xxx} is incorrect.
change it from Asia/Tokyo to the timezone of the pc running webgrab
use timezone=? and run webbgrab and check your webgrab log file for a list of valid timezone settings if you dont know what to use.

c_lam_2003
Offline
c_lam_2003's picture
Donator
Joined: 1 year
Last seen: 1 year

May be the problem is more than "local time issue", since the time in the guide.xml already shift 1 day comparing to original program schedule, my IPTV player take this and apply the modifier +0900 to it as well and it become a mess.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 6 hours

you should use one of the other ini.
with the correct timezone set its appears correct but this ini needs some stuff fixed.

c_lam_2003
Offline
c_lam_2003's picture
Donator
Joined: 1 year
Last seen: 1 year

Which ini to use? Seems that all ini under Japan folder using the same timezone
timezone=Asia/Tokyo

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 6 hours

dont edit other ini,only this one had the timezone incorrect.
try skyperfect or tvkindom

c_lam_2003
Offline
c_lam_2003's picture
Donator
Joined: 1 year
Last seen: 1 year

skyperfect and tvkindom also use Asia/Tokyo....

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 6 hours

yes,the timezone has to be set to the timezone the epg is in.
this is set by the person who last updated or created the ini.
you dont change this unless you know what you are doing.
i told you to change jcom because it was set incorrectly by someone else.

c_lam_2003
Offline
c_lam_2003's picture
Donator
Joined: 1 year
Last seen: 1 year

try change the timezone of tvguide.myjcom.jp.ini to UTC+08:00, Asia/Singapore, Asia/Hong_Kong
but still give me incorrect start/end time

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 6 hours

in your earlier post you mentioned that your app was adding +09:00 hours?
why are you doing this?
if the epg data 9 hours ahead?

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 6 hours

i will try to explain it..
there are only 3 possible settings for the timezone=
1. timezone of the site,in this case Asia/Tokyo(currently UTC+09:00)
2.timezone of the user,i assume this is Asia/Signapore for you(currently UTC+08:00)
3.UTC(UTC+00:00)

you already said Asia/Tokyo is incorrect but lets say we used this setting.your local timezone is UTC+08:00 and the epg timezone is UTC+09:00.your epg software should subtract 1 hour from all the programs start/stop times so the time will dispaly correctly for your timezone.

with it set to Asia/Signapore your epg software should be using this same timezone so the epg times will not be changed as both the epg data and your epg viewer and using the same timezone.

with is set to UTC your epg software should take your timezone(UTC+08:00) and the UTC timezone(UTC+00:00) and add 8 hours to all the start/stop times.

c_lam_2003
Offline
c_lam_2003's picture
Donator
Joined: 1 year
Last seen: 1 year

thanks for your reply, eventually I use timezone=Asia/Tokyo and xmltv_time_correct to adjust the time 1 day back (-24) to solve the problem

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl