2011-01-27, 21:41
I am converting the old BluRay play plugin to an addon and the settings.xml file is as follows:
When I right click on the video addon and select the setting none of my integer values show up. If I change the types to string they do show up.
From the documentation it appears that "integer" is supported but none of them show up. The addon does work for some combinations but not for all of the features.
The original "plugin" (written by Magnetism according to the code) ran in pre-10.0 stuff and I am trying to get it to work for 10.x.
Code:
<settings>
<setting type="lsep" label="51004"/>
<setting id="mkvlocation" type="text" label="50001" default="makemkvcon"/>
<setting id="wait_timeout" type="integer" label="51003" default="120"/>
<setting id="port_number" type="integer" label="51002" default="51000"/>
<setting id="mode" type="enum" values="None|Disc Mode|Remote Mode|Browse Mode|Show Settings" label="50067" default="Disc Mode"/>
<setting id="autoplay" type="bool" label="50068" default="false"/>
<setting type="lsep" label="51005"/>
<setting id="support_disc" type="bool" label="51006" default="true" />
<setting id="support_fileselect" type="bool" label="51007" default="true"/>
<setting id="support_remote" type="bool" label="51008" default="true"/>
<setting type="lsep" label="51000" visible="eq(-1,true)"/>
<setting id="ip_address" type="ipaddress" label="51001" default="127.0.0.1" visible="eq(-2,true)"/>
<setting id="remote_port_number" type="integer" label="51009" default="51000" visible="eq(-3,true)"/>
</settings>
When I right click on the video addon and select the setting none of my integer values show up. If I change the types to string they do show up.
From the documentation it appears that "integer" is supported but none of them show up. The addon does work for some combinations but not for all of the features.
The original "plugin" (written by Magnetism according to the code) ran in pre-10.0 stuff and I am trying to get it to work for 10.x.