List in Addon Settings
#1
I'm currently finalizing an mpd dash file addon.

For the setup of the addon I need to configure a list of URL prefixes, wich are allowed to be played using the addon.

Unforunately I'm unable to find a list item element in the settings.xml api.
In CGUIDialogSettingsManualBase there is an AddList, but there is no documatation about how to use it.

Any help is really appreciated!

Thanks!
Reply
#2
PHP Code:
<setting id="YOUR ID" type="select" default="DEFAULT" label="LABEL" values="EACH|ITEM|YOU|WANT" visible="true"/> 

Is this what you were looking for mate
Reply
#3
Unfortunately not - I need to have them editable (add / remove items).
So what I really need is a list with an edit element wich work together.

I helped myself by putting a bunch of edit fields under each other - not very dynamic, but ok.
If a user needs more then the preconfigured 8 edits, he must add them manually in settings.xm

But thanks for your example and reply!
Reply

Logout Mark Read Team Forum Stats Members Help
List in Addon Settings0