You are here

program greater than or equal to 4 hours

5 posts / 0 new
Last post
tanasepanaite
Offline
Donator
Joined: 4 years
Last seen: 1 month
program greater than or equal to 4 hours

Hi,

Every time a program is equal to or greater than 4 hours in the second part of the day, no more program is added starting with it and until the end of the day. I tried to change the value of the skip field in the config but it still remains the same.
I attached an example from Antena 1 HD from cinemagia.ro
After the program with start 20240511190000 follows the program with start 20240512090000. Missing 5 program and first missing have 4 hours.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 16 min

good catch.
try this,looks ok to me now.

fyi
it nothing to do with 4 hours,ect
it was the way webgrab was sorting the shows.
looking at the epg you see 2 sections,top 0600-2000 and bottom 2000-0600
in the data all 6 days of the 0600-2000 is first then the 2000-0600 data is after that.
webgrab has a few built in functions to automatically sort data like this but sometimes it doesnt work as expected.
i changed the code and manually sorted everything into the correct order.

updated 12 may 2024

Attachments: 
tanasepanaite
Offline
Donator
Joined: 4 years
Last seen: 1 month

Hi,

With this ini file (cinemagia.ro.ini), the programs are added incorrectly.
For today, start with the first part of today, then jump to the first part of Saturday, and then with the second part of Friday.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 16 min

sorry,changed something before i uploaded and didnt check it.
fixed above(i hope).
download again.

tanasepanaite
Offline
Donator
Joined: 4 years
Last seen: 1 month

Hi,

Indeed, now it seems to be correct and I think that the first problem with the lack of programs in the second part of the day has been solved.

Thanks

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