Kodi Community Forum

Full Version: Fallback iconImage
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

im working on a plugin and the website I scrape delivers low quality pics like "http://example.com/pics/12324234.jpg". I noticed that on some subpages there are hires versions of these pics "http://example.com/pics/12324234.jpg_hires.jpg". I guess that 90% of all images are accessible in hires with just appending "_hires.jpg" to the scraped filename.

The problem is the remaining 10% - xbmc gots a http 404 error on them.

So my question is, is it possible to set a fallback iconImage, something like
Code:
iconImage = 'http://example.com/pics/12324234.jpg|http://example.com/pics/12324234.jpg_hires.jpg'
?

Thanks,
sphere
Not currently, no. In my video thumbs cache branch there is support for loading the iconimage if the thumbimage fails.
ok, thanks anyway.

Would be nice to have something similar for post-eden Smile

regards,
sphere