How to exclude thumbnail folder from Kodi add-on?
#1
I am developing a Kodi add-on to clean thumbnails and cache, but when I execute it, it deletes all the generated picture thumbnails, requiring me to regenerate them using the context menu. Is there a specific folder that Kodi uses to store picture thumbnails, such as ...\userdata\Thumbnails??, which I can exclude from the cleaning process? Alternatively, are the thumbnails dispersed across all folders? I have the same question for add-on icons. Is there a script or method that I can use to automatically regenerate the thumbnails? Any advice or recommendations would be greatly appreciated.
Reply
#2
There already are add-ons is an external script for cleaning thumbnails, just not for photos/pictures yet.

You may want to look into:
- Texture Cache Maintenance utility: https://forum.kodi.tv/showthread.php?tid...ture+cache
It's an external script that, amongst other things, handles cached thumbnails.

There should be a Python-3 version available here: https://forum.kodi.tv/showthread.php?tid=272112 , not sure if it's also updated to Nexus standards yet.
Reply
#3
All cached textures are stored in /userdata/Thumbnails. They should not be messed with by add-ons in the first place, especially if the add-on has no context of their purpose.

What do you want to achieve here?
Reply

Logout Mark Read Team Forum Stats Members Help
How to exclude thumbnail folder from Kodi add-on?0