Kodi Community Forum
Refresh thumbnail cache - 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: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Refresh thumbnail cache (/showthread.php?tid=128700)



Refresh thumbnail cache - Zxurian - 2012-04-12

So I use Ember to manage thumbnails / posters / etc.. externally, since it's easier (for me) than the xbmc built in media manager. The problem comes when I decide to change an image that xbmc has already cached.

A search so far has only yielded two results,
1) Deleting the entire thumbnail cache, and letting XBMC refresh itself.
--- This seems wholly inefficient to me, and while it works, it's akin to using a nuke to demolish a single building. Not really a preferred method in my opinion
2) [Windows] Going through the registry to find the cache file name of what you've replaced, and just deleting that specific cache file, then letting XBMC rebuild it upon next access.
--- While this is more precise, it requires alot of manual intervention to get it to work properly, something that should be automated.

Is there a way to have xbmc refresh it's media cache for items that I know I've changed? either via api or otherwise?

I'd like to setup a timer to have it refresh it's cache on a given interval (say every 24 hours), or even something added to a web interface addon, or third party through api, to tell xbmc to refresh <this> image in it's cache.


or even a third party addon - program that generates the thumbnail cache images themselves, independent of xbmc?


Re: Refresh thumbnail cache - Martijn - 2012-04-12

And if you had searched more you would have found that XBMC refreshes the cache himself every 24hours without you doing anything


RE: Refresh thumbnail cache - sialivi - 2012-04-12

(2012-04-12, 22:33)Martijn Wrote: And if you had searched more you would have found that XBMC refreshes the cache himself every 24hours without you doing anything

Not true for all images. Music genre images for example does not refresh.


Re: RE: Refresh thumbnail cache - Martijn - 2012-04-12

(2012-04-12, 22:35)sialivi Wrote:
(2012-04-12, 22:33)Martijn Wrote: And if you had searched more you would have found that XBMC refreshes the cache himself every 24hours without you doing anything

Not true for all images. Music genre images for example does not refresh.

Correct but he did not mention music. Only videos


RE: Refresh thumbnail cache - jmarshall - 2012-04-12

Videos don't either until my video_thumbs_to_cache branch is pulled in.


RE: Refresh thumbnail cache - Zxurian - 2012-04-15

(2012-04-12, 23:30)jmarshall Wrote: Videos don't either until my video_thumbs_to_cache branch is pulled in.

is there any ETA on when this might happen?

or possibly an alternate solution until then?


RE: Refresh thumbnail cache - jmarshall - 2012-04-15

There is no alternate solution, otherwise I wouldn't be spending hours working on it.

The video_thumbs_to_cache branch will likely be pulled in during the May merge window.


RE: Refresh thumbnail cache - wilson.joe - 2012-04-15

thanks for the hours of hard work jmarshall. If it wasn't for developers like you working hard on XBMC we would be stuck using 2nd rate software. Big Grin


RE: Refresh thumbnail cache - Zxurian - 2012-04-16

(2012-04-15, 07:55)jmarshall Wrote: There is no alternate solution, otherwise I wouldn't be spending hours working on it.

The video_thumbs_to_cache branch will likely be pulled in during the May merge window.

awesome. Thanks for the heads up. Appreciate you working on it.


RE: Refresh thumbnail cache - ZestyChicken - 2012-04-19

(2012-04-16, 00:16)Zxurian Wrote:
(2012-04-15, 07:55)jmarshall Wrote: There is no alternate solution, otherwise I wouldn't be spending hours working on it.

The video_thumbs_to_cache branch will likely be pulled in during the May merge window.

awesome. Thanks for the heads up. Appreciate you working on it.

I wish we had a add-on which ran in the meantime but perhaps that's as laborious as making it a built-in...


RE: Refresh thumbnail cache - ZestyChicken - 2012-04-19

Check this out:

http://www.technazgul.com/2011/02/how-to-move-your-xbmc-library-while.html

He figured out how to get it to work. I had to make some minor adjustment but the idea basically worked.