Refresh thumbnail cache

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Zxurian Offline
Senior Member
Posts: 213
Joined: Sep 2009
Reputation: 0
Post: #1
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?
(This post was last modified: 2012-04-12 21:45 by Zxurian.)
find quote
Martijn Online
Team-XBMC
Posts: 7,721
Joined: Jul 2011
Reputation: 115
Location: Dawn of time
Post: #2
And if you had searched more you would have found that XBMC refreshes the cache himself every 24hours without you doing anything

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
sialivi Offline
Posting Freak
Posts: 953
Joined: Dec 2008
Reputation: 7
Location: Sweden
Post: #3
(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.
find quote
Martijn Online
Team-XBMC
Posts: 7,721
Joined: Jul 2011
Reputation: 115
Location: Dawn of time
Post: #4
(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

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #5
Videos don't either until my video_thumbs_to_cache branch is pulled in.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
Zxurian Offline
Senior Member
Posts: 213
Joined: Sep 2009
Reputation: 0
Post: #6
(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?
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #7
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.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
wilson.joe Offline
Fan
Posts: 448
Joined: Nov 2010
Reputation: 6
Location: Salem, Or
Post: #8
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

In a world without walls and fences who needs windows and gates, open source, opens minds.open yours today.
find quote
Zxurian Offline
Senior Member
Posts: 213
Joined: Sep 2009
Reputation: 0
Post: #9
(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.
find quote
ZestyChicken Offline
Member
Posts: 94
Joined: Mar 2011
Reputation: 0
Post: #10
(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...
find quote
Post Reply