v18 Missing EPG pictures for episodes (xmltv)
#1
Kodi 18.5, Tvheadend 4.3. That is how description looks at Tvheadend:

Image

So picture is there and correctly displayed. However, Kodi does not want to display any picture:

Image

It seems it sometimes works in Kodi also, sometimes not and it depeneds from xmltv source, but have no idea where is problem exactly. For example, other channel/episode in Kodi:

Image

So, this time picture is visible both in Kodi and Tvheadend. Do you have any ideas why Kodi sometimes won't load picture? Both pictures are direct link to images:

https://media.teleman.pl/photos/470x265/...ludnie.jpg
https://ocdn.eu/program-tv/new-upload-im...0ac090a662
Reply
#2
Hiya,

Did you have any luck with this after?
Reply
#3
(2020-03-06, 14:36)nakquada Wrote: Hiya,

Did you have any luck with this after?

Nope
Reply
#4
Dang,

Surely there has to be an easy fix.
Reply
#5
@giaur I had the same problem. I use WG ++ for xmltv generation, my data source is from Czech TV Guide server sms.cz. I searched for possible causes of the problem and found it in xmltv content. The link to the image exists, but the URL is missing http: prefix.

So I suggest you check the contents of xmltv.xml if you find something like that:

<icon src = "//www.o2tv.co.uk/img/epg/amc_hd/25627797/profi_cover.jpg" />

so try to replace it

<icon src = "https://www.o2tv.com/img/epg/amc_hd/25627797/profi_cover.jpg" />

All you need to do is edit xmltv.xml file and search text <icon src = "// and replace with <icon src =" http://

If you use the WG ++ application to generate xmltv.xml in the Linux or *ELEC system, you can insert a sed command with this editing into the post process script.

Good luck!

JiRo
Reply
#6
Yep you are right. WG++ generates invalid urls when extracting from one of my providers. TvH somehow parses them though, unlike Kodi.

Either parser definition for WG++ needs to be fixed (which I have no idea how to do), or sed needs to be applied on result xml.
Reply
#7
@giaur If you use WG++ on Linux, just give the sed command to the script that runs WG++. If you use *ELEC with a WG++ addon, there is a possibility to put a script named after.sh into the directory ...kodi/user_data/service.webgrabplus. This script will run automatically when grabbing is finished.

Sed command can look like this:

sed -i.bac 's;<icon src="//;<icon src="http://;g' guide.xml

The script can look like this:

#! /bin/sh
dir=$(dirname $0)
sed -i.bac 's;<icon src="//;<icon src="http://;g' ${dir}/guide.xml
exit
Reply

Logout Mark Read Team Forum Stats Members Help
Missing EPG pictures for episodes (xmltv)0