v19 Cleaning up database should remove thumbnails
#1
Not sure if this has been fixed in Kodi v20, but in v19 (Leia) I still have the problem that the .kodi/userdata/Thumbnails subdirectory keeps growing out of control. I have imported a database from my previous install, but too much has gone wrong (long, irrelevant story) so I decided to remove sources, do a 'Clean library' and rescrape the whole thing. Before AND after the library cleanup my Thumbnails subdir was still about 114MB in size, and as I scrape it's busy growing to close to twice that size, which suggests thumbnail associate with database entries are not being removed during a library cleanup.

Implementing this seems fairly trivial to me, but so far it does not appear to be in there yet.

(Update: I know about the Texture Cache Maintenance Utility (https://kodi.wiki/view/Texture_Cache_Mai...ce_utility) but most of this really should ideally be part of Kodi itself. When removing entries for absent media from the database, parsing the entries as they are deleted and unlinking the associated images as well would not seem all that complicated.)

Please? Big Grin

//FvW
Reply
#2
The texture cache maintenance utility may be of interest in the meantime for sorting that out (although it's not maintained any more, it should still work).

Oh and v19 is Matrix, not Leia Wink
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#3
I agree with @DarrenHill assessment and suggestion; would like to add one more resource which might simplify. https://github.com/klyco/script.database.cleaner
Reply
#4
(2021-10-17, 17:58)PatK Wrote: would like to add one more resource which might simplify

In fact, this tool has a v19 compatible version of the Texture Cache Maintenance utility.
Reply

Logout Mark Read Team Forum Stats Members Help
Cleaning up database should remove thumbnails0