I have XBMC run a slideshow of family photos in screensaver mode. Problem? XBMC caches the images automatically and therefore the photos are replaced by low-resolution, blurry cached copies. This is noticeably annoying especially if you have large, hi-res TV. I approached the developer of the screensaver addon about the problem but it is out of his hands because the cache are managed system-wide (within XBMC of course).
So I came up with a workaround using texturecache.py. You’ll need to do the following:
Install and test texturecache.py. Instruction is all there so I won’t go over the details. But the idea is you find the cache IDs of the photos by matching paths somehow. My path to the slideshows contain “family_slideshow” which is unique so I can simply search for it: $> ./texturecache.py s “family_slideshow”. Make sure you test thoroughly and that you can see the proper high-res slideshow.
Once you’ve got texturecache.py working, use the following script and change the SEARCH_STRING, XBMC_USR, XBMC_PWD variables appropriately.
Test run and try to do a “Preview” of the screensaver, you should see
state changed -> clean upoutput every time the screensaver is activated/deactivated
Make the script auto-start with XBMC