You are here

EPG one day late with tvtv.de

7 posts / 0 new
Last post
iptv_with_kodi
Offline
Joined: 3 years
Last seen: 3 years
EPG one day late with tvtv.de

Hi,

I am using WebGrabPlus on Debian, and the tool is really amazing!

I configured a cronjob which runs the programm every day at 4 am in the morning. However, the date of the EPG entries is wrong by 1 day, i.e. always the EPG of yesterday is shown. If I run the programm again manually, e.g. let's say at 10 am in the morning, it corrects all the entries and the date is correct again.

Any idea what's the problem with the cron job?

Many thanks,

Matthias

iptv_with_kodi
Offline
Joined: 3 years
Last seen: 3 years

The issue still remains, it is now also occuring when manually running the program via ssh. It is always one day late, i.e. I get yesterday's EPG instead of today's.

How can I manipulate the date?

francis
Offline
francis's picture
WG++ Team memberDonator
Joined: 5 years
Last seen: 5 hours
Is the support helpful?
support us

Well, I see that the site shows the programs, starting from 6 in the morning.

So when you grab at 4, the site still shows the programs from the previous day. That's why you see it (I think).

You could try/do 2 things.

1. grab between 6 in the morning and 12 at night. With unchanged .ini

2. grab between 12 at night and 6 in the morging. Change in the .ini:

site {url=tvtv.de|timezone=MET|maxdays=21.3|cultureinfo=de-DE|charset=utf-8|titlematchfactor=90}

with

site {url=tvtv.de|timezone=MET|maxdays=21.3|cultureinfo=de-DE|charset=utf-8|titlematchfactor=90|firstshow=now}
ApexDE
Offline
Joined: 1 year
Last seen: 6 months

Hello!

I have exactly the same problem. The fetched epg from tvtv.de is one day off, means, epg data from yesterday is shown today.

Is it possible to force webgraplus NOT to fetch epg data from a certain provider at certain times? Via config file?

Thanks! Dominique

 

Blackbear199
Offline
WG++ Team memberDonator
Joined: 3 years
Last seen: 6 hours

did you read what francis said in his post?

i just checked it and its correct for me BUT it was after 6am local time germany so yeterdays/last nights epg is gone past and no longer shows.

a alternative fix which i think will also work is add index_date.scrub...

index_date.scrub {single(force)|<td class="headdatum">|<b>|</b>|</td>}

add this line before the index_start.scrub line.

this will force webgrab to use the date of the first days programming as a start date.

so  when you grab between midinght and 6am it will get yesterdays date as a start date and skip all the show up until midnight(start of today) and your epg should be correct.

if you grab after 6am it will get todays date as the start date and again your epg should be correct.

 

ApexDE
Offline
Joined: 1 year
Last seen: 6 months

Thanks blackbear, i'll try that and will report back :)

ApexDE
Offline
Joined: 1 year
Last seen: 6 months

Thanks Blackbear, your fix worked perfectly fine!

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