userdata folder remains after addon uninstall
#1
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!
Reply
#2
Feature is already in v18 (https://github.com/xbmc/xbmc/pull/11499) for some time.
Reply
#3
(2017-11-08, 16:12)Rechi Wrote: Feature is already in v18 (https://github.com/xbmc/xbmc/pull/11499) for some time.

Thanks for the info.  I didn't look in github, but there's a lot of good info in the pull requests
Reply

Logout Mark Read Team Forum Stats Members Help
userdata folder remains after addon uninstall0