This plugin is used by other addons to cache data during some time. For example keep a list of urls in cache for 24 hours and after that reload it again.
Thus plugin creates at kodi startup some files in the temp folder which are cleared by the Clear Cache function in EZ Maintenance Plus resulting in breaking that cache.
When it run that function at startup (via the addons setting "AutoClean at Startup") these files in the temp folder are already there and because they are removed by this function caching doesn't work anymore.
The following must be changed in maintenance.py:
line 33 must become:
if (f == "xbmc.log" or f == "xbmc.old.log" or f == "kodi.log" or f == "kodi.old.log" or f == "archive_cache" or f == "commoncache.db" or f == "commoncache.socket" or f == "temp"): continue
and on line 39 the following must be added:
if (d == "archive_cache" or d == "temp"): continue
This because it creates also two folders "archive_cache" and "temp" which should also not be removed.
The same must happen a couple of lines below (lines 54 and 60)
Kodi has standard an addon called Common plugin cache or StorageServer or script.common.plugin.cache See https://kodi.wiki/view/Add-on:Common_plugin_cache
This plugin is used by other addons to cache data during some time. For example keep a list of urls in cache for 24 hours and after that reload it again.
Thus plugin creates at kodi startup some files in the temp folder which are cleared by the Clear Cache function in EZ Maintenance Plus resulting in breaking that cache. When it run that function at startup (via the addons setting "AutoClean at Startup") these files in the temp folder are already there and because they are removed by this function caching doesn't work anymore.
The following must be changed in maintenance.py:
line 33 must become:
if (f == "xbmc.log" or f == "xbmc.old.log" or f == "kodi.log" or f == "kodi.old.log" or f == "archive_cache" or f == "commoncache.db" or f == "commoncache.socket" or f == "temp"): continue
and on line 39 the following must be added: if (d == "archive_cache" or d == "temp"): continue
This because it creates also two folders "archive_cache" and "temp" which should also not be removed.
The same must happen a couple of lines below (lines 54 and 60)
Please change this also in your code.