Posts: 78
Joined: Mar 2005
Reputation:
3
2019-09-06, 11:59
(This post was last modified: 2019-09-06, 13:19 by thecubasekid.)
Hi Folks,
i am hoping someone can explain some results i am getting that don't make sense to me.
if i run texturecache.py c to force caching files that are in the db but not in the thumbnails folder to the thumbnails folder, i have a few (maybe 20) items that always fail. everything else is cached and only these same files are identified when i run the command. Note all my images are stored locally with the media. i checked the paths and all failed files are 0kb, so i deleted them from the file system.
i ran texturecahce.py X expecting to see only these items, then run texturecahce.py Xd to remove them however, texturecahce.py X returns thousands of results - do i misunderstand the commands or is something amiss? (note i am using kodi 18.3)
Thanks in advance!!
Posts: 109
Joined: Nov 2015
Reputation:
1
rosede
Senior Member
Posts: 109
I just learned of "texturecache.py" and I am trying to figure it out. The reason why I am intrested in it is because my Thumbnails cache is 5GB and tens of thousand of images in size. I didn't realize that it was growing so large and I need a way to clean it up, hence I found "texturecache.py".
I've been reviewing the docs and follow some of the examples, but I'm not sure how to clean only the Thumbs directory. I use a centralized Thumbnails storage, on my NAS, and point all of my devices to the same location, probably the reason why it's so large. I ran this example ./texturecache.py x "where lastusetime <= '2019-01-01'" and I get a lot of stuff, but nothing from the thumbnails.
I copied the config example from the docs and added in the Thumbnails share on the NAS, but I'm still not seeing anything from the Thumbnails. What is the correct syntax to clean out only the Thumbnails and not other cached images? After I clean up the thumbnails, then I'll review other images and see what needs to be cleaned.
Thanks
Daryl
Posts: 42
Joined: Sep 2014
Reputation:
0
Hi,
I am seeing this each time I do a vscan now:
Updating library: New id -1
Always -1, and today.... two of them!
/home/osmc/texturecache.py/texturecache.py vscan
Rescanning library...
Updating library: New id -1
Updating library: New id -1
Any idea how I could try to resolve whatever these may be?