BeoGateway/BeoGateway.indigoPlugin/Contents/Server Plugin/PluginConfig.xml
2022-07-29 19:25:30 +01:00

123 lines
5.3 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="menu" id="playlist_default" defaultValue="Library" visibleBindingId="iTunesControl"
visibleBindingValue="true">
<Label>Apple Music Default Playlist:</Label>
<List class="self" filter="" method="playlistgenerator"/>
<CallbackMethod>set_playlist_default</CallbackMethod>
</Field>
<Field type="menu" id="playlist_green" defaultValue="Recently Added" visibleBindingId="iTunesControl"
visibleBindingValue="true">
<Label>Apple Music Green Playlist:</Label>
<List class="self" filter="" method="playlistgenerator"/>
<CallbackMethod>set_playlist_green</CallbackMethod>
</Field>
<Field type="menu" id="playlist_yellow" defaultValue="Recently Played" visibleBindingId="iTunesControl"
visibleBindingValue="true">
<Label>Apple Music Yellow Playlist:</Label>
<List class="self" filter="" method="playlistgenerator"/>
<CallbackMethod>set_playlist_yellow</CallbackMethod>
</Field>
<Field type="menu" id="playlist_red" defaultValue="My Top Rated" visibleBindingId="iTunesControl"
visibleBindingValue="true">
<Label>Apple Music Red Playlist:</Label>
<List class="self" filter="" method="playlistgenerator"/>
<CallbackMethod>set_playlist_red</CallbackMethod>
</Field>
<Field type="menu" id="playlist_blue" defaultValue="Tom 100 Most Played" visibleBindingId="iTunesControl"
visibleBindingValue="true">
<Label>Apple Music Blue Playlist:</Label>
<List class="self" filter="" method="playlistgenerator"/>
<CallbackMethod>set_playlist_blue</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>