How to Exclude Folder from Thumbnail Cleaning?
#1
I am developing an add-on to clean thumbnails and cache, but it also deletes my generated picture thumbnails every time I run it. This requires me to re-generate them using the context menu, which is a hassle.
Is there a specific folder that Kodi uses to store picture thumbnails (e.g. ...\userdata\Thumbnails??), which I can exclude from the thumbnail cleaning? Or are the thumbnails scattered throughout all the folders?
The same question applies to add-on icons.
Alternatively, is there a script or a way to automatically re-generate the thumbnails through the add-on?
I would appreciate any help or suggestions.
Reply
#2
kodi thumbnails are in special://profile/Thumbnails unless overridden by the user
Reply
#3
(2023-02-21, 06:35)KamaalJeim Wrote: I am developing an add-on to clean thumbnails and cache, but it also deletes my generated picture thumbnails every time I run it.

Share the add-on script, so we can see where the AI problem is.
Reply
#4
It sounds like you are encountering an inconvenience with your add-on. In regards to your question, Kodi does have a specific folder where it stores picture thumbnails. This folder is located in the following directory: ...\userdata\Thumbnails. If you exclude this folder from your add-on's cleaning process, it should prevent the generated picture thumbnails from being deleted.
As for add-on icons, they are typically stored in the add-on's own folder. If you exclude the add-on's folder from your add-on's cleaning process, it should prevent the add-on icons from being deleted.
Regarding the automatic re-generation of thumbnails through your add-on, there may be a way to accomplish this through the use of a Kodi script. You may want to consult the Kodi documentation or community forums to see if this is possible.
I hope this information helps you optimize your add-on and reduce the hassle of re-generating your thumbnails.
Reply
#5
(2023-03-17, 08:50)MahishTanzon Wrote: This folder is located in the following directory: ...\userdata\Thumbnails. If you exclude this folder from your add-on's cleaning process, it should prevent the generated picture thumbnails from being deleted.

It's good to know that chatbots still have a good level of stupidity in them.
Reply



Logout Mark Read Team Forum Stats Members Help
How to Exclude Folder from Thumbnail Cleaning?0
This forum uses Lukasz Tkacz MyBB addons.