Closed jcollum closed 2 years ago
If the directory can't be created this is an issue with Kodi itself and not the addon. The special://profile/addon_data/
directory is managed by Kodi to store settings for all addons on the system. The settings.xml
is created for each addon by Kodi and loaded through the UI to populate the settings.
This is a fresh install of the current version of Kodi. I mean, I can post this to their issue tracker but if they changed how that directory works it seems like the bug lies with your program.
I see what you mean; although maybe I didn't explain this properly. When you alter or do anything with settings for addons - any addon - the saving and loading of the settings.xml
file is handled directly by Kodi. That directory structure and files are all managed by the Kodi app and are transparent to the addon. On my end all I'm handed is a Python object that contains the settings. At no point do I load or write to those files, it's all handled by the core app.
I suspect at the root of this is some kind of file permissions issue on your Kodi install. The underlying files in the addon_data
directory haven't changed in years.
OK thanks for the clarification.
On Sat, Dec 4, 2021 at 3:42 PM Rob @.***> wrote:
I see what you mean; although maybe I didn't explain this properly. When you alter or do anything with settings for addons - any addon - the saving and loading of the settings.xml file is handled directly by Kodi. That directory structure and files are all managed by the Kodi app and are transparent to the addon. On my end all I'm handed is a Python object that contains the settings. At no point do I load or write to those files, it's all handled by the core app.
I suspect at the root of this is some kind of file permissions issue on your Kodi install. The underlying files in the addon_data directory haven't changed in years.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/robweber/xbmcbackup/issues/206#issuecomment-986136313, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFMAAW3ZVPDBTTRSQ2BXELUPKRMZANCNFSM5IDPHPIA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Describe the problem When I change the settings and go back in to the settings to change something all of the settings have reverted to default
Platform and Kodi version Linux Mint 20.2, Kodi 19.3.0
Link to Debug Log I tried to upload the debug log but all I got on the paste site was "Something went wrong!". I see something in the logs about failed to load addon settings from special://profile/addon_data/script.xbmcbackup/settings.xml. Looks like it's expecting a directory that doesn't exist. I installed Kodi 19 fresh this morning.