You are here

Request: Help understanding time offset

6 posts / 0 new
Last post
G7K
Offline
Joined: 7 years
Last seen: 7 years
Request: Help understanding time offset

Hi,

I've searched the forums and documation but am still confused as to hw timezone offset is meant to work. "Foreign" channels are showing in my EPG without any offset.

 

I am using PVRSimple Client in Kodi. The channels are from IPTVSubs so I have configured WebGrab to gte US/Canada channels which are all showing up perfectly fine. 

There are also Irish/UK channels but since there is a 5 hour time different to me (East Coast US) they are 5 hours out.

I've left the timezone setting as-is in the .ini files to UK/Ireland and looked at the XMLTV file it generates and there doesn't seem to be a correct offset. I tried to modify the timezone in the .ini manually and although the program times include an offset e.g. "123456789 +0200", it makes no difference in the Kodi EPG.

I'm a little confused as to how this is meant to work. Is it an issue that my channels are coming from multiple timezones? As I only wish to shift certain channels and not all of them?

 

Many thanks for advice.

G.

G7K
Offline
Joined: 7 years
Last seen: 7 years

Thanks so much for the quick response. I just ran the generated guide.xml through WG2MP and my EPG is perfect now. Thank you so much.

As you said, PVRSimple Client was ignoring any offset, I felt this was some error on my part but glad you could confirm otherwise to stop me losing my mind :)

The only thing I have noticed however is that in tv.com.ini (for US channels) the default timezone is "timezone=UTC", I had to change it to "timezone=UTC+05:00" or US channels were 5 hours ahead after WG2MP. UK .ini file was set to "Europe/London" so it was fine without change. I'm not so worried since it's working now but just an observation on my end.

G7K
Offline
Joined: 7 years
Last seen: 7 years

Your reasoning makes perfect sense so I'm not entirely sure either but as it is for now... it all works so the "current" show is always listed correctly in the EPG regardless of the channels location (instead of having to click right 5 hours for UK/IRL).

 

The key really was using the utility after the guide.xml was generated, I wasn't doing that before, so as long as it's "working" now, I won't worry about "how" it's working :) If anything starts to screw up I'll reset to .ini files from scratch and start over but for now, no need.

 

Many thanks for putting me straight as to how the pieces work together.

donbrew
Offline
Joined: 7 years
Last seen: 1 year
G7K wrote:

Your reasoning makes perfect sense so I'm not entirely sure either but as it is for now... it all works so the "current" show is always listed correctly in the EPG regardless of the channels location (instead of having to click right 5 hours for UK/IRL).

 

The key really was using the utility after the guide.xml was generated, I wasn't doing that before, so as long as it's "working" now, I won't worry about "how" it's working :) If anything starts to screw up I'll reset to .ini files from scratch and start over but for now, no need.

 

Many thanks for putting me straight as to how the pieces work together.

 

I was having the same problem with tv.com.  Turns out whoever made the tv.com.ini must have been in the UK at the time.  The time is set to UTC, I reset it to UTC-05:00 now all is right!

kirkydman
Offline
Joined: 7 years
Last seen: 5 years
Blackbear199 wrote:

the thing with tv.com dont make sense to me...

if its using UTC and your local timezone is UTC-05:00,wg2mp.exe substracts 5 hrs from the start/stop.

by you changing it to UTC +05:00 now its subtracting 10 hrs.

Europe/London right now is UTC+01:00,in the fall whewn the clocks go back it will be UTC.

 

Hi Blackbear, when i run webgrab with tv.com channels it says a cookie.txt file is missing, where do i get this from?

Cheers

 

 

donbrew
Offline
Joined: 7 years
Last seen: 1 year

The directions to make the cookies.txt are in tv.com_instructions.txt in the tv.com package.

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