You are here

yelotv.be ini not working correctly anymore

35 posts / 0 new
Last post
laibalion
Offline
Donator
Joined: 3 years
Last seen: 1 year
yelotv.be ini not working correctly anymore

Hi,

it seems like Telenet changed somethings on how their guide data is retrieved from yelotv's tvguide via this epg (http://webgrabplus.com/epg-channels#s2A).

There were some issues already before (like the regex pattern for season and episodes in the ini file not including 0), but since a few days more is going awry:
- titles having (?) in their strings
- episode info missing
- descriptions being missing

guide data, config, logs, ini and channel files attached as zip, as requested.

Originally created by Michaël Arnauts, Netuddki and Francis De Paemeleere and last modified by Michaël.
No idea if they can be contacted in a more direct fashion besides hoping they see this post :).

I don't quite understand how webgrabplus's syntax and flow functions when parsing epg data (i assume via REST somehow), and figuring all of that out will take me a while. If the original authors could assist here, that would be great.

Attachments: 
laibalion
Offline
Donator
Joined: 3 years
Last seen: 1 year

For those interested I've generated a new channel list xml for yelotv as some station's names got changed.
See attached.

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 7 hours

Please do not post license data, someone else may use it and block it.

laibalion
Offline
Donator
Joined: 3 years
Last seen: 1 year
mat8861 wrote:

Please do not post license data, someone else may use it and block it.

(facepalm), yes I'm an idiot. Completely forget that the config file also contains the license data :|
I've removed those details now.
Thanks for keeping an eye out.

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 7 hours

With reference to your channel list, is wrong. Just copying and paste of some scrubbing methods will not take you anywhere. So: 1. correct link is https://api.yeloplay.be/api/v1/epg/channel/list?platform=Web
2. you need to scrub channelId and name

laibalion
Offline
Donator
Joined: 3 years
Last seen: 1 year

I'm not sure I understand. If you're referring to the channel generation section in the ini file, that was already there (I didn't create it).
It actually seems to work in the sense that it creates a channel list as expected.

In the meantime I've figured out on how details of the shows are retrieved now in their web epg, I just don't know how to handle this in the ini files as I'm really struggling with the syntax of wg++ (have 0 experience in creating ini files for wg++).

To get details from the index, the crid and imiid values can be used to retrieve the details of the show (https://pubba.yelo.prd.telenet-ops.be/v1/events/detail-imi/outformat/jso...'index_temp_1'/imi/'index_temp_2'/)

I'm attempting to see if I can update the ini file so that it works again.

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 7 hours

this should get you started, next questions please use developer section

Attachments: 
laibalion
Offline
Donator
Joined: 3 years
Last seen: 1 year

Much appreciated. It seems I was pretty close but missed the urlencode to make it work.
How do I submit my updated ini and channel file the correct way? I want to make the changes available to others too.
I create a PR on github for the update? Or do I provide the files here?

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 7 hours
laibalion
Offline
Donator
Joined: 3 years
Last seen: 1 year

Alright, PullRequest created.

masterke
Offline
Donator
Joined: 6 years
Last seen: 3 weeks

i also like to have the updated file so i can use it again,
thanks in advance ;)

laibalion
Offline
Donator
Joined: 3 years
Last seen: 1 year

Hi masterke, you can either grab the files from the pull request or get them directly from my forked repo -> https://github.com/Laibalion/webgrabplus-siteinipack/tree/master/siteini...

masterke
Offline
Donator
Joined: 6 years
Last seen: 3 weeks

thanks for the changements to the file, now it works again (y)

kvanhulst
Offline
Donator
Joined: 4 years
Last seen: 3 years

Hello Laibalion,
I downloaded your site.ini, I'm able to grab the data for the EPG but I'm missing the descriptions in the download. Any idea what I'm doing wrong? Any help is appreciated :-) I've included the files that I use

Attachments: 
laibalion
Offline
Donator
Joined: 3 years
Last seen: 1 year

It looks fine to me.
I've quickly double checked and the json format and REST calls are still the same and the fields being parsed should work.
Can you also provide the generated guide.xml (keep it small, to a few channels for 1 day orso)? Mine still contain description fields as expected.

From the logs i can see you're using version 3.1.0. I don't expect it to be causing any issues, but I'm using version 3.1.4 (feel free to check if it gives any difference).

kvanhulst
Offline
Donator
Joined: 4 years
Last seen: 3 years

Hi, thanks for your prompt reaction :-). The guide.xml is in attachment.

Attachments: 
laibalion
Offline
Donator
Joined: 3 years
Last seen: 1 year

Hmmmm. seems like none of the details are loading for you.
What license do you have? If only default, I think that only the index page is parsed, and the Yelo ini file gets the description from the details page.
There is actually a description json field in the index as well, it's just not parsed in this particular configuration.

Please try attached ini file

Attachments: 
kvanhulst
Offline
Donator
Joined: 4 years
Last seen: 3 years

Hi Laibalion,

Super, it is working now ! Thanks a lot for the help and your efforts.

Have a nice day.

laibalion
Offline
Donator
Joined: 3 years
Last seen: 1 year

You're welcome. Will probably push these changes to git this evening ;).

If you like this product, please consider to donate so that besides supporting the creators, you can get more data for your EPG as well (It is less than a 'friet met cervela' :)).
I'm not affiliated with WG++ in any way, I just want it to stay alive as this is my second installation to get EPG data into TVHeadend. Previously I used a python based grabber, but it didn't work as well and was much harder to integrate into my NAS. There is a nice docker image for WG++ available that runs on my NAS.

kvanhulst
Offline
Donator
Joined: 4 years
Last seen: 3 years

Will do so, I can live one week without a friet met cervola ;-)

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 7 hours
kvanhulst wrote:

Will do so, I can live one week without a friet met cervola ;-)

One week ?!? come on...... i guess you should said "one day". ;) Just joking, i am kind of annoyed with this covid shxxt

kvanhulst
Offline
Donator
Joined: 4 years
Last seen: 3 years

Did the donation in the mean time, no friet met cervola for me today ;-)
I hope you guys give me the license quickly. Keep up the good work
Thanks

laibalion
Offline
Donator
Joined: 3 years
Last seen: 1 year

FYI, for me it took a bit before the backend processed the donation license.
If you set to force the license update in the config file in a few hours orso, it should be fine.
I did it in the evening and the next nightly pass with a license update forced picked it up just fine.

kvanhulst
Offline
Donator
Joined: 4 years
Last seen: 3 years

Hello laibalion, I've used the yelo.tv ini that yu supplied, in general it is working but I stil have some minor issues
This is an example of my guide.xml in attachment
In tivimate I have the tittle in double and the description is often also double. If possible can you have a look at it.

Thanks a lot in advance

Attachments: 
laibalion
Offline
Donator
Joined: 3 years
Last seen: 1 year

Hmmm, can you try to comment the section where the description is being scrubbed from the index (basically the last edit I did).
I suspect that it both the index and the details pages contain a description it'll combine them now.
Not too sure how I can work around that (will take a look later in the evening).

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 1 hour

its not a double title.
the title and subtitle are the same,to fix this add this after the last subtitle.modify line.
subtitle.modify {clear('title')}

to fix the description add this after the last index_description.modify line.
index_description.modify {remove('index_urlshow' not "")|'index_description'}

the first erases the subtitle if it matches the title.
the second removes the index description if it also exists on the details page.

kvanhulst
Offline
Donator
Joined: 4 years
Last seen: 3 years

Yes that seems to be working. Thanks a lot. I'm just missing one more thing, that is the actors. any idea how I can get them in ?

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 1 hour

the actors was working but it was only getting the first actor.
added director also and changes i mentioned above.

Attachments: 
laibalion
Offline
Donator
Joined: 3 years
Last seen: 1 year

Updated my outstanding PR with the changes for the double titles and description (thanks Blackbear199 for the help).
Also updated the actor scrubbing. I think it should scrub all actors now from the details json data.

kvanhulst
Offline
Donator
Joined: 4 years
Last seen: 3 years

Thanks a lot for your help guys, appreciated. One more small request ;-). would it be possible to display the actors/directors before the description. In tivimate for movies the description if often so long that it doesn't display the actors. (I can see they are present in the guide.xml)

laibalion
Offline
Donator
Joined: 3 years
Last seen: 1 year

Blackbear199, missed your post. Updated the PR to take in your changes and give you the credits ;).

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 1 hour
kvanhulst wrote:

Thanks a lot for your help guys, appreciated. One more small request ;-). would it be possible to display the actors/directors before the description. In tivimate for movies the description if often so long that it doesn't display the actors. (I can see they are present in the guide.xml)

tvimate decides which order things are displayed,it has nothing todo with webgrab.

masterke
Offline
Donator
Joined: 6 years
Last seen: 3 weeks

they have changed the name of the site, maybe we have to change the link also to grab again????
new url is = https://yelo.telenet.tv

laibalion
Offline
Donator
Joined: 3 years
Last seen: 1 year

Are you having issues with the Yelo TV grabber? The urls the grabber uses don't match the 'frontend' url (I mean they didn't match previously either).
If your grabs from YeloTV don't work anymore, let me know, and I'll see if I can fix it later this evening.

masterke
Offline
Donator
Joined: 6 years
Last seen: 3 weeks
laibalion wrote:

Are you having issues with the Yelo TV grabber? The urls the grabber uses don't match the 'frontend' url (I mean they didn't match previously either).
If your grabs from YeloTV don't work anymore, let me know, and I'll see if I can fix it later this evening.

I checked it with 3 channels and it still works, so only the site name is changed, but we can only check it if it was changed or not the grab url.
so everything works.

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