2017-11-06, 23:36
Just doing some development testing with my addon, and found something I'm not sure is correct:
Install my addon (plugin.program.iarl) which installs all the necessary files to:
..path_to_kodi_data/addons/plugin.program.iarl
Kodi then sets up a userdata folder to save addon settings in when the addon is launched, my addon uses this folder for cache, etc:
..path_to_kodi_data/userdata/addon_data/plugin.program.iarl
Uninstalling the addon in Kodi deletes:
..path_to_kodi_data/addons/plugin.program.iarl
but does not delete:
..path_to_kodi_data/userdata/addon_data/plugin.program.iarl
Then if the addon is re-installed, the old settings and userdata files are used. Is this intended? Why doesn't Kodi delete the associated userdata/addon_data folder when an addon is uninstalled?
Thanks!
Install my addon (plugin.program.iarl) which installs all the necessary files to:
..path_to_kodi_data/addons/plugin.program.iarl
Kodi then sets up a userdata folder to save addon settings in when the addon is launched, my addon uses this folder for cache, etc:
..path_to_kodi_data/userdata/addon_data/plugin.program.iarl
Uninstalling the addon in Kodi deletes:
..path_to_kodi_data/addons/plugin.program.iarl
but does not delete:
..path_to_kodi_data/userdata/addon_data/plugin.program.iarl
Then if the addon is re-installed, the old settings and userdata files are used. Is this intended? Why doesn't Kodi delete the associated userdata/addon_data folder when an addon is uninstalled?
Thanks!