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
jmarshall
Team-XBMC Developer Posts: 24,570 Joined: Oct 2003 Reputation: 138 |
2012-05-02 01:00
Post: #11
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. ![]() |
| find quote |
Dito
Junior Member Posts: 8 Joined: Feb 2012 Reputation: 0 |
2012-05-02 01:39
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
Team-XBMC Developer Posts: 24,570 Joined: Oct 2003 Reputation: 138 |
2012-05-02 02:19
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. ![]() |
| find quote |
ctawn
Senior Member Posts: 238 Joined: May 2009 Reputation: 0 |
2013-02-25 20:54
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 |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
Search
Help