Kodi Community Forum

Full Version: List Picture Sources in add-ons settings
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am looking for a way to let the user choose a default source for my picture add-on. Currently, (for testing purposes) I have static put the options in as <setting label="12345" type="enum" id="usersource" values="Source1|Source2"/>.

My goal is to have something that is able to change that values due to a populated array. I would like to populate that array using the JSON API that is built into XBMC.

Please ask if you need more detail I will try and be more specific if this didn't make sense.

Thank you for your help!
this addon cant install bro.. it gives failure when its trying to install..