AppleTV 2 (black) Purging Thumbnails, Stale Thumbnails

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jmarshall Offline
Team-XBMC Developer
Posts: 24,520
Joined: Oct 2003
Reputation: 138
Post: #11
Read my posts above, particularly point 2 and 5, then take a nosy in Textures6.db.

It's all reasonably self-explanatory, and would be rather trivial to do a proper cleanup function once everything is using that.

Cheers,
Jonathan

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
Dito Offline
Junior Member
Posts: 8
Joined: Feb 2012
Reputation: 0
Post: #12
Clever - I hadn't realized the textures were also referenced in a database. That's okay; I like databases. :-)

While I'm sure I could find the answer in the source code, I hope you'll forgive me for just asking: when does the "usecount" field get updated? I've got one entry that's been "used" 24 times, but it's the icon for some Chinese add-on from the official repository.

Is it the number of places a particular image appears somewhere in the system? Is it the number of times that image has been displayed on-screen? If it was the latter, I'd assume the usecount would be much higher.

This could be more complicated than I thought... but it's easy enough to backup some .db files along with my Thumbnails folder. Fire up the Python editor and do a little tinkering... heh.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,520
Joined: Oct 2003
Reputation: 138
Post: #13
It's the usecount, but in Eden it gets reset whenever we check the hash (24 hour minimum, as you view).

This has changed in master, so usecount is actual usecount of the image since it was cached.

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
ctawn Offline
Senior Member
Posts: 237
Joined: May 2009
Reputation: 0
Post: #14
Revisiting this thread, any progress on a "cleaner-upper"?

I notice that in upgrading from Eden to Frodo, the entire artwork cache is rebuilt. Are the old thumbnails not removed? The size of my thumbnails folder has increased nearly 30%! That's a lot of waste.
find quote
Post Reply