Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
How to stop the caching of thumbnails completely?
#1
I use Kodi mostly for the Youtube addon, to be able to use it with the gamepad.

I browse Youtube with it daily and i noticed that it stores all the video thumbnail pictures in the "Thumbnails" directory.

All these pictures are useless to me though. 99% of the time i'm only going to view a video once and never need to look for it ever again or create a library. But as i browse, more and more random thumbnail pictures get saved all the time on my SSD.

Sure, i can always manually delete them but they still ware out the SSD with the constant saving. So, is it possible to stop the caching altogether?
Reply
#2
While I think your concern about wear on the SSD is bit OTT, this is still an interesting question.  I'll bet there's a way to fudge this such as mangling the permissions on the Thumbnails folder, creating a file called Thumbnails etc but a proper "NoCache" mode would actually be quite useful for devices with absurdly low storage such as Firesticks.

Unless there is such a mode already, you can either use one of the above fudging methods or just set up a Path Substitution so your thumbnails get written off to another location/network share.
Reply
#3
any attempts to block kodi from accessing its thumbnails folder will only result in kodi not being able to start - at all

use the path substitution method that was recommended by @beeswax
Reply
#4
AFAIK, to display any art, it must be loaded from the thumbnails.  You could mod a skin to show no art, but in the case of youtube addon I think it always pulls an art (there's a resolution setting but no "none" option) and that gets stored in thumbnails.

scott s.
.
Reply
#5
Thanks for the suggestions.

I changed the thumbnails folder location and i guess i'll continue to manually delete the files every now and then.
Reply
#6
(2023-05-16, 17:34)Imgema Wrote: Thanks for the suggestions.

I changed the thumbnails folder location and i guess i'll continue to manually delete the files every now and then.

How about a cron job or a Kodi shutdown script to delete them ?


Thanks,

Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , CBC Sports, Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#7
You might have a look at texturecache.py python script.  It doesn't seem to be maintained any more but might work for this: 158373 (thread)

scott s.
.
Reply

Logout Mark Read Team Forum Stats Members Help
How to stop the caching of thumbnails completely?0