How to use Settings to store login and password etc
#16
Hello Sphere,

XBMC is new for me. I implemented one video application on windows.
I want help regarding to store login details of users in xbmc.
I am using python.
In login.py I used
ADDON.setSetting('key',value) after user's successful login, to store username and password.
and "ADDON.getSetting('sessionUsernameText')" this function is called to restore values of username and password using setText() function.
Please, elaborate these functions how to use and where to call?
I am not using resource/settings.xml .
I checked in userdata folder for settings.xml its created and username and password value is set to that.
but why I cant access my addon without login.

My target is, to store user's login data so that user do not need to login frequently.
Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
How to use Settings to store login and password etc0