[RELEASE] Texture Cache Maintenance utility
(2013-11-19, 20:16)bit phreak Wrote: then i tried the R command (not quite sure of what it is doing) but anyway....
this is the result i got

./texturecache.py R
Found 31,197 orphaned files for 2,621 database files.

This is far too many orphaned files for this number of
database files - more than 5% - and something may be wrong.

Check your configuration, database, and Thumbnails folder.

Add "orphan.limit.check = no" to the properties file
if you wish to disable this check.

can some please explain in detail what the "R" does. and perhaps how I get around the error above?

The "R" command (it was originally named as it's a kind of reverse lookup) finds those files in your Thumbnails folder that are NOT referenced in your Textures13.db database - ie. they are those files that are serving no purpose whatsoever and just taking up disk space, as they're no longer being used by XBMC. I refer to these files as "orphans" as usually they would have been referenced by XBMC at some point, perhaps in an earlier version of XBMC (ie. Eden?) but are now no longer used or needed.

How you have managed to acquire so many orphans you don't say, but I imagine it's because you have upgraded from a much earlier version of XBMC (pre-Frodo).

As things stand, you currently have 31,197 orphaned files (that can be deleted) and only 2,621 non-orphan files (that you want to keep). Under normal circumstances, you may have only a handful of orphan files, if that. Hence the safety check to avoid a catastrophic coding error on my part (it happened once - oops!).

However if my explanation makes sense, and you can think of a reason why you would have so many orphan files, then add the "orphan.limit.check=no" property to your texturecache.cfg file and run the "R" option again - this time it will remove all the orphan files. Alternatively add the property to your command line so it only applies to that invocation of texturecache.py, ie:
./texturecache,py R @orphan.limit.check=no
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.

Messages In This Thread
RE: [RELEASE] Texture Cache Maintenance utility - by Milhouse - 2013-11-19, 22:21
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
Cleaning - by AleisterHH - 2018-05-28, 22:03
RE: Cleaning - by Milhouse - 2018-05-28, 22:16
qax genre not updated - by Just-Me_A-User - 2018-06-12, 22:06
RE: qax genre not updated - by Milhouse - 2018-06-12, 23:40

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17
This forum uses Lukasz Tkacz MyBB addons.