How can we fix the image size problem with addons?
#22
Please don't something hackish Smile

We have just to use this correctly as addon-devs and everything is fine. Concfluence is doing a great job with this information.
http://mirrors.kodi.tv/docs/python-docs/...tem-setArt

There is no image standard or size...only if you/we as addon-devs provide them with the addon. But every external (web) image is out of hand for us. I've so many different sizes...even YouTube has no fanart in 1280x720 or 1920x1080....RedBull even returns 4000xXXXX images.

I vote against PIL (sorry no offense @learningit) - but the addon shouldn't process the image. Take YouTube for example. I have (worst case) 50 different fanarts (for each channel) and 50 different thumbs. To process them with PIL I would have to resize/crop 100 images...do this on a slow RasPi or other Atom-Machine and the user won't have a nice user experience.

We as addon devs. have to set the content type correctly (I do it since my first addon, because without it most skins show not a single additional information for video - how should they)
http://mirrors.kodi.tv/docs/python-docs/...setContent

...and (if available) set all possible images
http://mirrors.kodi.tv/docs/python-docs/...tem-setArt

as I said....concluence is doing it right with this informations.

I hope I offended no one with my statement Smile just want to be constructive, use things which are already exists - and I hate hackish solutions Wink
Reply


Messages In This Thread
RE: How can we fix the image size problem with addons? - by bromix - 2015-05-18, 08:39
Logout Mark Read Team Forum Stats Members Help
How can we fix the image size problem with addons?0