Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1803

not working

$
0
0
I have the following XML that is working quite well for displaying full screen images in a Panel. The issue I'm facing is that when I scroll right and reach an image that I've not seen before, then it takes a couple of seconds to load. ( for images watched earlier, the cache is able to serve it almost immediately). I've set preloaditems to 5 but that didn't help. For new set of images even if I give it a few seconds before scrolling right, it still takes the same amount of time to load and show the image.

Here is the section of XML code for the panel I'm using:

https://paste.ubuntu.com/p/bsTh7wByzQ/

This is called upon from a Python addon which uses XBMC GUI to populate this panel and adds the property "urlToMediaFile" to listItems. Please advice how do I get these images to be preloaded or added to cache so they can be immediately loaded.

I have thousands of images, so they all cannot be a part of cache. If preload images with a count works in this case, then that's all I need. But if it cannot do that, then programmatically adding and removing images from cache is acceptable too. 

Thanks in advance.

Viewing all articles
Browse latest Browse all 1803

Trending Articles