You are here

Add wide images in Czech republic - sledovanitv

3 posts / 0 new
Last post
blujacker
Offline
Donator
Joined: 3 years
Last seen: 4 months
Add wide images in Czech republic - sledovanitv

Hello

we're grabbing some metadata from sledovanitv which works perfectly now. It grabs images which is perfect. But we'd like to have two types of images available. The current ones (which are portrait mode) should stay as it is. But sledovani.tv also has landscape images available. Would it be possible to add it into the generated xmltv too? Perhaps as second icon tag with attribute landscape (or different tag, i dont know what the options are)

For example on page https://sledovanitv.cz/epg/event-new?eventId=primafamily%3A2021111137898..., the wide image is https://sledovanitv.cz/static/backdrops/820/34820_1280.jpg - I found it by inspecting `.event-header .event-background in style `backgound-image: url(...)`

Does webgrab support something like this? Do you think it could be added?

Thank you alot!

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

well , it would be against the standard xmltv to add 2 showicon and also i think you could have problem selecting which one. Anyway attached is with 2 showicon, preference to background and preference to poster image, for the last 2 if one is not available will add the second (ex. no poster then background is added)

blujacker
Offline
Donator
Joined: 3 years
Last seen: 4 months

Hello

sledovanitv.cz_2showicon.zip works just like we need, perfect!

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