Kodi Community Forum

Full Version: Windows - How to have script use its own settings.xml file?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Could somebody please enlighten me on how to write and get settings from a settings.xml file in a specific script directory in Windows? Like fetching from the user profile's scripts directory?

I know it uses settings = then some path...I just cant figure it out.
xbmcaddon.getSetting("foo"). setSetting() is also there.
Forgive me for being dense, but could someone make a small code sample that shows how to do this, saving to an xml file that is in a specific script directory?
I'm not a python coder, I really need to deconstruct code to learn.

Thanks.