Timeshifting in XMLTV

PN23

Portal Member
November 25, 2019
17
1
43
Country flag
Any assistance here would be greatly appreciated - I am pulling my hair out with this one!

I am using a couple of IPTV services that provide me with local channels in my own country, and some of these channels are so called "+1 channels" which run an hour behind the live channels so are timezone -1

I also have a few channels from the US and these can be between -5 and -8 hours behind.

Applying time compensation in the XMLTV plugin would be a blanket change across all channels so I have not tried that, however I have tried setting tvg-shift tags in my m3u to compensate as I have done with other IPTV platforms.

MP2 (and I assume MP1 as I have never used it) does not appear to be able to work with an m3u file that is anything other than a plain simple file, so any modern tagging as would be found in m3uplus or m3u8 files results in the TV server not being able to scan any channels described in the file.

When I remove everything other than the name and path to the channel, the TV server can scan them all, but this leaves me with the XMLTV EPG issue with timings all over the place.

I have scoured the forums and found others with similar issues to me but not found an answer. Can anybody point me in the right direction with this? Is it possible to offset the time for some channels?
 

PN23

Portal Member
November 25, 2019
17
1
43
Country flag
OK, I have figured out timeshifting in the XML file now and have written some scripts to create +1 channels etc apply the correct timeshift and add this to my exiting tvguide.xml file. If I validate this file with my normal tools (even I just create one separate XML as a test for 2 channels - one normal and one +1 variant of the same channel) this comes out fine. Even online validators show the two channels with the programming an hour different.

As soon as I import this XML into MP2, the guide shows the same data for the two channels at exactly the same time without any timeshift at all.

I am really scratching my head now.
 

PN23

Portal Member
November 25, 2019
17
1
43
Country flag
I have this worked out now and working well for channels from -8 to +8 hours of time difference. If anyone needs to know I'm doing this post a reply and I'll put some documentation together.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top Bottom