Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
2014-03-05, 20:34
(This post was last modified: 2014-03-05, 20:36 by un1versal.)
(2014-03-05, 18:01)MilhouseVH Wrote: Other than nuking your Textures13.db and Thumbnails folder then running "c all" to re-cache everything, my advice to keep your cache in tip-top condition would be to run the following on a semi-regular basis:
Code:
./texturecache.py P <--- Prune: remove non-media library artwork, including addon cruft
./texturecache.py R <--- Orphans: remove files that XBMC has forgotten about
./texturecache.py c all <--- Cache: cache any missing artwork, for all media classes (basically, everything)
texturecache.py (Version 1.5.1 - this thread is a year old!)- Add: Include suspend capability (whether suspend is supported), and idle timer state in status
- Add: Include songs as tc.members in jd albums (also j/jr/J/Jr/Jd) when @songmembers=yes
- Fix: Remove unsupported class check on qax - now runs qax on all classes, even if there is no way to fix them
Well Ill try, but no, I have in fact been doing those commands since the Thumbnails dir and textures13.db have been created (not pre frodo nonsense here I only run master compiles and this install is about 3 months old at best.), but Im saying it now, I have done that already and the P and specificity R have been done yesterday.
I have on a diffent machine found a art bug as well see trac.xbmc.org/ticket/14986 and see if you reporduce that bug on your machines
already someone can duplicate it but the more the merrier.
Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
2014-03-05, 22:41
(This post was last modified: 2014-03-05, 22:43 by un1versal.)
Im not looking inside the textures13.db atm but I will look for this cache url if P keeps giving me more files again and again.
ive ran P and R again (I did set orphan.limit.check = no
the result of R was amongst another bazillion removed files
Code:
Orphaned file found: Name [c/c58ad08d.dds], Created [Sun Dec 15 11:12:46 2013], Size [460,928], REMOVING...
Orphaned file found: Name [c/c748aa36.dds], Created [Sun Dec 15 11:12:46 2013], Size [86,528], REMOVING...
Orphaned file found: Name [c/cad9c04a.dds], Created [Sun Dec 15 11:12:46 2013], Size [195,968], REMOVING...
Orphaned file found: Name [Video/Bookmarks/dd42b259_4187.jpg], Created [Mon Feb 24 21:39:31 2014], Size [11,665], REMOVING.
..
Summary: 5,884 files; Total size: 760,584 KB
and that was after running it yesterday as well
My other machine Im leaving untouched because of that bug I need to have a unfiddled machine to test those art related bug in case it matters.
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
@uNi - I'm a bit confused, are you saying you ran "R" yesterday and it removed 5000+ files, and after running it again today it has removed another 5000+ files?!
Do any of the files it claims to have removed, eg. "c/c58ad08d.dds", now exist in the Thumbnails folder? It's removed a bunch of these dds files, and these usually map to jpg files, so is there a "c/c58ad08d.jpg" in your Thumbnails folder? There shouldn't be a jpg, since if the jpg file existed, it wouldn't have attempted to delete the dds file, so my guess (hope) is that neither the dds nor jpg exist now. If the dds still exists, hmmm. If the jpg exists, errrr....
The "r" option can be used to list what files would be removed, and might be worth running just to check the processing is working as expected.
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.
Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
2014-03-05, 23:33
(This post was last modified: 2014-03-05, 23:34 by un1versal.)
I will look at the existence of jpg counterparts, tbh I dont think they exist on the few I checked didnt have any jpg counterpart, and next time I run r or p or P or R I will wack it on log somehow.
ya I ran P yesterday and R though idk how many files were removed after that I ran C.
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
Hmmm..... all qax does is remove items, then initiate a library rescan, usually just of the directory containing the removed item... if you can reproduce, a log would be handy. Strange that one of the items was unavailable (what was the path?), stranger still that there should be two - the first issue would suggest a problem with the scan, the second issue would suggest the item wasn't successfully removed in the first place, but then if the episode remained in the library, xbmc shouldn't have had any reason to scan in the duplicate...
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.
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
Do you have a dropbox? It should compress to a fairly small size. I'll also PM you an email address.
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.
Posts: 17
Joined: Aug 2009
Reputation:
0
ADA2D
Junior Member
Posts: 17
Thank you very much MilhouseVH. I will try the new version as soon as I get home tonight.