2016-06-07, 16:52
Hi @ all,
last time i created an addon. But i have some problems with read and write settings. Read and write to skin settings is no problem and works perfect but the addon should use it's own settings.
i tried the following:
addon = xbmcaddon.Addon()
addon.setSettting('mysetting','blabla')
This works fine and writes the line "<setting id="mysetting" value="blabla" />
string = addon.getSettting('mysetting')
In this case string is always empty - can anybode help to read the setting correctly ?
Thx
last time i created an addon. But i have some problems with read and write settings. Read and write to skin settings is no problem and works perfect but the addon should use it's own settings.
i tried the following:
addon = xbmcaddon.Addon()
addon.setSettting('mysetting','blabla')
This works fine and writes the line "<setting id="mysetting" value="blabla" />
string = addon.getSettting('mysetting')
In this case string is always empty - can anybode help to read the setting correctly ?
Thx