Size of cached images
#1
Hi all.

Sorry if this has been up on other occasions. It is new to me, and I don't mean to be anything but inquisitive.

How do I - using python when loading images from my HDD into display in a panelcontainer, tell Kodi what size the cached images should be?
The thing is, I just need tiny 32x32 images, and it looks like Kodi is making.. well, in lack of a better description.. something huge with jaggies.

I just know there is a way to getImageFromHDD(img).inTinySize()!

Sorry for the long post. Hope you can help. Thanks in advance.

You want more info?! Why? Well, isn't it your lucky day:
Code:
# With each item I do..
li = xbmcgui.ListItem(label=img, label2='', iconImage=img)
# See.. there is two "img"-sources here. One for display in the panel, and one to carry the link to the source to be displayed onfocus (except that isn't working, so it has to be onclick)
# anyways, all li goes into LS:
LS.append(li)
# And LS goes off to the list:
c.setStaticContent(LS)
# It is that easy indeed to populate a list.
Reply

Logout Mark Read Team Forum Stats Members Help
Size of cached images0