Kodi Community Forum

Full Version: Storing Input Data
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

I started using XBMC 2 days ago and have managed to create a login screen that uses the Control Type Edit, is there anyway to store the information that is entered in the control type ? Maybe by sending it to a custom plugin?

Best regards,

Vienem
For what do you need the login? For XBMC or for an add-on? You can enable the former in the profile settings, for the latter you would need to create the edit control in python.
The login is to login to my website through XBMC I have the login working I just need to store the input values of the Edit Controls (Username and Password) from the skin to the settings of my login plugin, any idea how I would do that?
You need to create the controls in a custom window xml in your plugin, then you can store the values in the settings.

http://mirrors.xbmc.org/docs/python-docs...mcgui.html