BeoGateway/BeoGateway.indigoPlugin/Contents/Server Plugin/PluginConfig.xml
2022-02-05 20:38:57 +00:00

93 lines
3.8 KiB
XML

<?xml version="1.2"?>
<PluginConfig>
<SupportURL>http://</SupportURL>
<Field id="title" type="label" alignText="center" fontColor="blue">
<Label>Bang &amp; Olufsen Gateway Configuration (MLGW/BLGW)</Label>
</Field>
<Field id="subtitle1" type="label" alignText="left" fontColor="blue">
<Label>Gateway Network Address:</Label>
</Field>
<Field id="address" type="textfield" defaultValue="blgw.local.">
<Label>IP Address:</Label>
<CallbackMethod>set_gateway</CallbackMethod>
</Field>
<Field id="mlgw_port" type="textfield" defaultValue="9000">
<Label>MLGW Protocol Port:</Label>
<CallbackMethod>set_gateway</CallbackMethod>
</Field>
<Field id="hip_port" type="textfield" defaultValue="9100">
<Label>Home Integration Protocol Port:</Label>
<CallbackMethod>set_gateway</CallbackMethod>
</Field>
<Field id="simpleSeparator1" type="separator"/>
<Field id="subtitle2" type="label" alignText="left" fontColor="blue">
<Label>Login Details:</Label>
</Field>
<Field id="userID" type="textfield" defaultValue="admin">
<Label>User ID:</Label>
<CallbackMethod>set_login</CallbackMethod>
</Field>
<Field id="password" type="textfield" defaultValue="password" secure="true">
<Label>Password:</Label>
<CallbackMethod>set_login</CallbackMethod>
</Field>
<Field id="simpleSeparator2" type="separator"/>
<Field id="subtitle3" type="label" alignText="left" fontColor="blue">
<Label>Music Control Options:</Label>
</Field>
<Field type="menu" id="defaultAudio" defaultValue="RADIO">
<Label>Default Audio Source:</Label>
<List>
<Option value="RADIO">RADIO</Option>
<Option value="CD">CD</Option>
<Option value="A.TAPE/A.MEM">A.TAPE/A.MEM</Option>
<Option value="PHONO/N.RADIO">PHONO/N.RADIO</Option>
<Option value="A.AUX">A.AUX</Option>
<Option value="A.TAPE2/N.MUSIC">A.TAPE2/N.MUSIC</Option>
</List>
<CallbackMethod>set_default_audio</CallbackMethod>
</Field>
<Field type="checkbox" id="iTunesControl" defaultValue="true">
<Label>Control Apple Music:</Label>
<CallbackMethod>set_music_control</CallbackMethod>
<Description>play and control Apple Music</Description>
</Field>
<Field type="menu" id="iTunesSource" defaultValue="A.TAPE2/N.MUSIC" visibleBindingId="iTunesControl"
visibleBindingValue="true">
<Label>Apple Music Source:</Label>
<List>
<Option value="RADIO">RADIO</Option>
<Option value="CD">CD</Option>
<Option value="A.TAPE/A.MEM">A.TAPE/A.MEM</Option>
<Option value="PHONO/N.RADIO">PHONO/N.RADIO</Option>
<Option value="A.AUX">A.AUX</Option>
<Option value="A.TAPE2/N.MUSIC">A.TAPE2/N.MUSIC</Option>
</List>
<CallbackMethod>set_music_control</CallbackMethod>
</Field>
<Field type="checkbox" id="trackMode" defaultValue="true" visibleBindingId="iTunesControl"
visibleBindingValue="true">
<Label>Track Reporting:</Label>
<CallbackMethod>set_trackmode</CallbackMethod>
<Description>prints track info to the Indigo log</Description>
</Field>
<Field id="simpleSeparator3" type="separator"/>
<Field id="subtitle4" type="label" alignText="left" fontColor="blue">
<Label>Plugin Reporting Options:</Label>
</Field>
<Field type="checkbox" id="verboseMode" defaultValue="true">
<Label>Verbose Mode:</Label>
<CallbackMethod>set_verbose</CallbackMethod>
<Description>prints device telegrams to the Indigo log</Description>
</Field>
<Field type="checkbox" id="notifyMode" defaultValue="true">
<Label>Post Notifications:</Label>
<CallbackMethod>set_notifymode</CallbackMethod>
<Description>posts information to the Notification Centre</Description>
</Field>
<Field type="checkbox" id="debugMode" defaultValue="false">
<Label>Debug Mode:</Label>
<CallbackMethod>set_debug</CallbackMethod>
<Description>prints debug info to the Indigo log</Description>
</Field>
</PluginConfig>