v19 Add xbmcaddon.Addon([id]).getSettingDefault(id)
#1
Kodi currently exposes (among other things) the function: 

xbmcaddon.Addon([id]).getSetting(id)

See:

https://codedocs.xyz/xbmc/xbmc/group__py...b4f36b1655

It would be useful also in the Addon Python coded to be able to ask what the default value for a setting is. So implementing:

xbmcaddon.Addon([id]).getSettingDefault(id)

would be nice. It empower an Addon to see what defaults are implemented an in particular to check of a setting is at its default value or not.

Not a show stopper but a nice to have.
Reply



Logout Mark Read Team Forum Stats Members Help
Add xbmcaddon.Addon([id]).getSettingDefault(id)0
This forum uses Lukasz Tkacz MyBB addons.