Kodi Community Forum
Linux Kodi 15.1: is possible to avoid caching for background images? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux Kodi 15.1: is possible to avoid caching for background images? (/showthread.php?tid=236819)



Kodi 15.1: is possible to avoid caching for background images? - effe - 2015-08-26

Hi,

I have a slideshow running H24 as home backgrounds. Some of those pictures are actualized automatically (using python and imagemagick) to show some useful information of my store like the waiting line time. Problem is the images are cached, and are not actualized till I change to anther folder on settings.
Is there a way to avoid caching?

Thanks.


RE: Kodi 15.1: is possible to avoid caching for background images? - Martijn - 2015-08-26

http://mirrors.xbmc.org/docs/python-docs/15.x-isengard/xbmcgui.html#ControlImage-setImage

should have the option you want


RE: Kodi 15.1: is possible to avoid caching for background images? - effe - 2015-08-26

Is not exactly clear but I'll have a look on it. Thanks.


RE: Kodi 15.1: is possible to avoid caching for background images? - Martijn - 2015-08-26

some where in your python code where you the image is define you need to specify something like
self.image.setImage('special://home/scripts/test.png', False)

else you need to put you code public somewhere (like pastebin or something) so some devs can give you pointers


RE: Kodi 15.1: is possible to avoid caching for background images? - effe - 2015-08-26

I've decided to create a new custom xml and load it. I'll open another thread for it if necessary.