2017-11-25, 15:17
for a couple of weeks now, FilmAffinity metadata addon's users have experienced issues to display movie posters on Kodi from FilmAffinity website. although the scraper seems to work fine (images' urls are located and retrieved perfectly), there seems to be a problem with Kodi displaying it. a quick look to the log file explains what's happening:
it seems like Kodi is trying to stat the remote file, but it can't, therefore it's not able to cache the image texture and ultimately it's not able to display the image.
this is a Kodi problem, isn't it? wouldn't it be a way to cache the texture even if the stat step fails? like a fallback mode or so.
could it be that the image content is being served by https? looking to a command line's curl response it looks like even if the image is called through http it is still being served through https
tested on Windows 10 64 bit, Kodi v17.6, FilmAffinity addon v1.7.6
Code:
23:06:11.702 T:7996 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for https://pics.filmaffinity.com/unknown-930984351-large.jpg
23:06:11.702 T:7996 DEBUG: CTextureCacheJob::GetImageHash - unable to stat url https://pics.filmaffinity.com/unknown-930984351-large.jpg
this is a Kodi problem, isn't it? wouldn't it be a way to cache the texture even if the stat step fails? like a fallback mode or so.
could it be that the image content is being served by https? looking to a command line's curl response it looks like even if the image is called through http it is still being served through https
tested on Windows 10 64 bit, Kodi v17.6, FilmAffinity addon v1.7.6