Jump to content


Photo

Import time shift?


  • Please log in to reply
7 replies to this topic

#1 izibizi

  • Senior Member
  • 79 posts

+1
Neutral

Posted 9 July 2020 - 23:14

Hi,

My source for import has one channel that for sone reason is shifted by 20 minutes.

Is there a way to shift the times by 20 minutes back to fix this error?

Re: Import time shift? #2 doglover

  • Rytec EPG Team
  • 17,003 posts

+637
Excellent

Posted 10 July 2020 - 07:33

Can you give me some explanations on how this happens?

Do you use your own grabs?  Or do you import our Rytec sources?

 

Is the the data in the XMLTV file correct, and happens the error during import?  Or is the XMLTV already shifted for 20 minutes?


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Import time shift? #3 izibizi

  • Senior Member
  • 79 posts

+1
Neutral

Posted 10 July 2020 - 08:19

I grab the data from israeli HOT website. One channel there has wrong times.

It is the Food Network.

If a program starts really at 10:00, on the HOT list it shows as starts at 10:20.

I would like to correct it during the grab to shit by 20 min

Re: Import time shift? #4 doglover

  • Rytec EPG Team
  • 17,003 posts

+637
Excellent

Posted 10 July 2020 - 15:26

If you are using WG++ you can do two things.

First make a separate Sitiini where you correct the time.  But this is probably too complicated.

 

The second method is bit simpler.
First grab the schedule as it on the website.  And then make-up a schedule with an offset

f.i. (an example from my config files)

<channel update="i" site="comingsoon.it" site_id="sky-cinema-uno" xmltv_id="SkyCinemaUno.it">Sky Cinema Uno</channel>
<channel same_as="SkyCinemaUno.it" offset="1" xmltv_id="SkyCinemaUnoPlus1.it">Sky Cinema Uno +1</channel>

In this example the offset is 1 hr.

 

If you want it 20 min earlier then use:

<channel update="i" site="comingsoon.it" site_id="sky-cinema-uno" xmltv_id="SkyCinemaUno.it">Sky Cinema Uno</channel>
<channel same_as="SkyCinemaUno.it" offset="-0.3333333334" xmltv_id="SkyCinemaUno(-20m).it">Sky Cinema Uno (-20 m)</channel>

Willy

 

PS:  Import the correct schedule


Edited by doglover, 10 July 2020 - 15:28.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Import time shift? #5 izibizi

  • Senior Member
  • 79 posts

+1
Neutral

Posted 10 July 2020 - 16:26

Thx, will check it out

Re: Import time shift? #6 izibizi

  • Senior Member
  • 79 posts

+1
Neutral

Posted 11 July 2020 - 19:31

On the second solution, the two channel statements need to run together or can I run the second in a separate run?

Re: Import time shift? #7 doglover

  • Rytec EPG Team
  • 17,003 posts

+637
Excellent

Posted 12 July 2020 - 05:40

They have to be run together in the same config file.  With the same-as statement behind the the actual grab statement,


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Import time shift? #8 izibizi

  • Senior Member
  • 79 posts

+1
Neutral

Posted 12 July 2020 - 11:48

works as designed - thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users