Fallback iconImage - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Fallback iconImage (/showthread.php?tid=126161) |
Fallback iconImage - sphere - 2012-03-21 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 RE: Fallback iconImage - jmarshall - 2012-03-21 Not currently, no. In my video thumbs cache branch there is support for loading the iconimage if the thumbimage fails. RE: Fallback iconImage - sphere - 2012-03-21 ok, thanks anyway. Would be nice to have something similar for post-eden regards, sphere |