2017-11-18, 20:57
In my addon, I have to save a username and password for a external service. To do this, I read about xbmcaddon.Addon().setSetting(). I attempted to use this, but it didn't appear to save. Additionally no folder for my plugin was created in the userdata > addon_data folder. When I debug with getSetting() it returns a blank output.
For reference, here is the code I'm using:
Am I doing something wrong? Any help would be appreciated.
For reference, here is the code I'm using:
python:
addon = xbmcaddon.Addon()
addon.setSetting('password', str(password))
addon.getSetting('password')
Am I doing something wrong? Any help would be appreciated.