1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<thing : thing-descriptions bindingId =" volumio2"
3
- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
- xmlns : thing =" http://eclipse.org/smarthome/schemas/thing-description/v1.0.0"
5
- xsi : schemaLocation =" http://eclipse.org/smarthome/schemas/thing-description/v1.0.0 http://eclipse.org/smarthome/schemas/thing-description-1.0.0.xsd" >
3
+ xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
4
+ xmlns:thing=" http://eclipse.org/smarthome/schemas/thing-description/v1.0.0"
5
+ xsi:schemaLocation=" http://eclipse.org/smarthome/schemas/thing-description/v1.0.0 http://eclipse.org/smarthome/schemas/thing-description-1.0.0.xsd" >
6
6
7
- <!-- Volumio Thing Type -->
8
- <thing-type id =" player" >
9
- <label >Volumio2 Player</label >
10
- <description >A Volumio2 Player</description >
7
+ <!-- Volumio Thing Type -->
8
+ <thing-type id =" player" >
9
+ <label >Volumio2 Player</label >
10
+ <description >A Volumio2 Player</description >
11
11
12
- <channels >
13
- <channel id =" title" typeId =" title" />
14
- <channel id =" artist" typeId =" artist" />
15
- <channel id =" album" typeId =" album" />
16
- <channel id =" volume" typeId =" volume" />
17
- <channel id =" player" typeId =" player" />
12
+ <channels >
13
+ <channel id =" title" typeId =" title" />
14
+ <channel id =" artist" typeId =" artist" />
15
+ <channel id =" album" typeId =" album" />
16
+ <channel id =" volume" typeId =" volume" />
17
+ <channel id =" player" typeId =" player" />
18
18
<!-- <channel id="albumArt" typeId="albumArt"/> -->
19
- <channel id =" trackType" typeId =" trackType" />
20
- <channel id =" playRadioStream" typeId =" playRadioStream" />
21
- <channel id =" playPlaylist" typeId =" playPlaylist" />
22
- <channel id =" clearQueue" typeId =" clearQueue" />
23
- <channel id =" playURI" typeId =" playURI" />
24
- <channel id =" playFile" typeId =" playFile" />
25
- <channel id =" random" typeId =" playRandom" />
26
- <channel id =" repeat" typeId =" playRepeat" />
27
- </channels >
28
-
29
- <config-description >
30
- <parameter name =" hostname" type =" text" required =" true" >
31
- <label >Hostname</label >
32
- <description >The hostname of your volumio2 device</description >
33
- </parameter >
34
- <parameter name =" port" type =" integer" required =" true" >
35
- <label >Port</label >
36
- <description >The port of your volumio2 device (default is 3000)</description >
37
- <default >3000</default >
38
- </parameter >
39
- <parameter name =" protocol" type =" text" required =" true" >
40
- <label >Protocol</label >
41
- <description >The protocol of your volumio2 device (default is http)</description >
42
- <limitToOptions >true</limitToOptions >
43
- <options >
44
- <option value =" http" >http</option >
45
- <option value =" https" >https</option >
46
- </options >
47
- </parameter >
48
- <parameter name =" timeout" type =" integer" required =" true" >
49
- <label >Timeout</label >
50
- <description >Connection-Timeout in ms</description >
51
- <default >5000</default >
52
- <advanced >true</advanced >
53
- </parameter >
54
- </config-description >
55
-
56
- </thing-type >
19
+ <channel id =" trackType" typeId =" trackType" />
20
+ <channel id =" playRadioStream" typeId =" playRadioStream" />
21
+ <channel id =" playPlaylist" typeId =" playPlaylist" />
22
+ <channel id =" clearQueue" typeId =" clearQueue" />
23
+ <channel id =" playURI" typeId =" playURI" />
24
+ <channel id =" playFile" typeId =" playFile" />
25
+ <channel id =" random" typeId =" playRandom" />
26
+ <channel id =" repeat" typeId =" playRepeat" />
27
+ </channels >
28
+
29
+ <config-description >
30
+ <parameter name =" hostname" type =" text" required =" true" >
31
+ <label >Hostname</label >
32
+ <description >The hostname of your volumio2 device</description >
33
+ </parameter >
34
+ <parameter name =" port" type =" integer" required =" true" >
35
+ <label >Port</label >
36
+ <description >The port of your volumio2 device (default is 3000)</description >
37
+ <default >3000</default >
38
+ </parameter >
39
+ <parameter name =" protocol" type =" text" required =" true" >
40
+ <label >Protocol</label >
41
+ <description >The protocol of your volumio2 device (default is http)</description >
42
+ <limitToOptions >true</limitToOptions >
43
+ <options >
44
+ <option value =" http" >http</option >
45
+ <option value =" https" >https</option >
46
+ </options >
47
+ </parameter >
48
+ <parameter name =" timeout" type =" integer" required =" true" >
49
+ <label >Timeout</label >
50
+ <description >Connection-Timeout in ms</description >
51
+ <default >5000</default >
52
+ <advanced >true</advanced >
53
+ </parameter >
54
+ </config-description >
55
+
56
+ </thing-type >
57
57
58
- <channel-type id =" title" >
59
- <item-type >String</item-type >
60
- <label >Current Title</label >
61
- <description >Title of the song currently playing</description >
62
- <state readOnly =" true" />
63
- </channel-type >
64
-
65
- <channel-type id =" artist" >
66
- <item-type >String</item-type >
67
- <label >Current Artist</label >
68
- <description >Name of the artist currently playing</description >
69
- <state readOnly =" true" />
70
- </channel-type >
71
-
72
- <channel-type id =" album" >
73
- <item-type >String</item-type >
74
- <label >Current Album</label >
75
- <description >Name of the album currently playing</description >
76
- <state readOnly =" true" />
77
- </channel-type >
78
-
79
- <channel-type id =" volume" >
80
- <item-type >Dimmer</item-type >
81
- <label >Volume</label >
82
- <description >Set or get the master volume</description >
83
- <category >SoundVolume</category >
84
- <state max =" 100" min =" 0" step =" 10" />
85
- </channel-type >
86
-
87
- <channel-type id =" player" >
88
- <item-type >Player</item-type >
89
- <label >State</label >
90
- <description >The State channel contains state of the Volumio2 Player</description >
91
- <category >Player</category >
92
- </channel-type >
58
+ <channel-type id =" title" >
59
+ <item-type >String</item-type >
60
+ <label >Current Title</label >
61
+ <description >Title of the song currently playing</description >
62
+ <state readOnly =" true" />
63
+ </channel-type >
64
+
65
+ <channel-type id =" artist" >
66
+ <item-type >String</item-type >
67
+ <label >Current Artist</label >
68
+ <description >Name of the artist currently playing</description >
69
+ <state readOnly =" true" />
70
+ </channel-type >
71
+
72
+ <channel-type id =" album" >
73
+ <item-type >String</item-type >
74
+ <label >Current Album</label >
75
+ <description >Name of the album currently playing</description >
76
+ <state readOnly =" true" />
77
+ </channel-type >
78
+
79
+ <channel-type id =" volume" >
80
+ <item-type >Dimmer</item-type >
81
+ <label >Volume</label >
82
+ <description >Set or get the master volume</description >
83
+ <category >SoundVolume</category >
84
+ <state max =" 100" min =" 0" step =" 10" />
85
+ </channel-type >
86
+
87
+ <channel-type id =" player" >
88
+ <item-type >Player</item-type >
89
+ <label >State</label >
90
+ <description >The State channel contains state of the Volumio2 Player</description >
91
+ <category >Player</category >
92
+ </channel-type >
93
93
94
- <channel-type id =" albumArt" advanced =" true" >
95
- <item-type >Image</item-type >
96
- <label >Cover Art</label >
97
- <description >Cover Art for the currently played track</description >
98
- <state readOnly =" true" />
99
- </channel-type >
100
-
101
- <channel-type id =" trackType" advanced =" true" >
102
- <item-type >String</item-type >
103
- <label >trackType</label >
104
- <description >Tracktype of the currently played track</description >
105
- <state readOnly =" true" />
106
- </channel-type >
94
+ <channel-type id =" albumArt" advanced =" true" >
95
+ <item-type >Image</item-type >
96
+ <label >Cover Art</label >
97
+ <description >Cover Art for the currently played track</description >
98
+ <state readOnly =" true" />
99
+ </channel-type >
100
+
101
+ <channel-type id =" trackType" advanced =" true" >
102
+ <item-type >String</item-type >
103
+ <label >trackType</label >
104
+ <description >Tracktype of the currently played track</description >
105
+ <state readOnly =" true" />
106
+ </channel-type >
107
107
108
- <channel-type id =" playRadioStream" advanced =" true" >
109
- <item-type >String</item-type >
110
- <label >Play radio stream</label >
111
- <description >Play the given radio stream</description >
112
- </channel-type >
113
-
114
- <channel-type id =" playPlaylist" advanced =" true" >
115
- <item-type >String</item-type >
116
- <label >Play playlist</label >
117
- <description >Playback a playlist identifed by its name</description >
118
- </channel-type >
119
-
120
- <channel-type id =" clearQueue" advanced =" true" >
121
- <item-type >Switch</item-type >
122
- <label >Clear queue</label >
123
- <description >Clear the current queue</description >
124
- </channel-type >
108
+ <channel-type id =" playRadioStream" advanced =" true" >
109
+ <item-type >String</item-type >
110
+ <label >Play radio stream</label >
111
+ <description >Play the given radio stream</description >
112
+ </channel-type >
113
+
114
+ <channel-type id =" playPlaylist" advanced =" true" >
115
+ <item-type >String</item-type >
116
+ <label >Play playlist</label >
117
+ <description >Playback a playlist identifed by its name</description >
118
+ </channel-type >
119
+
120
+ <channel-type id =" clearQueue" advanced =" true" >
121
+ <item-type >Switch</item-type >
122
+ <label >Clear queue</label >
123
+ <description >Clear the current queue</description >
124
+ </channel-type >
125
125
126
- <channel-type id =" playRandom" advanced =" true" >
127
- <item-type >Switch</item-type >
128
- <label >Random</label >
129
- <description >Activate random mode</description >
130
- </channel-type >
126
+ <channel-type id =" playRandom" advanced =" true" >
127
+ <item-type >Switch</item-type >
128
+ <label >Random</label >
129
+ <description >Activate random mode</description >
130
+ </channel-type >
131
131
132
- <channel-type id =" playRepeat" advanced =" true" >
133
- <item-type >Switch</item-type >
134
- <label >Repeat</label >
135
- <description >Activate repeat mode</description >
136
- </channel-type >
132
+ <channel-type id =" playRepeat" advanced =" true" >
133
+ <item-type >Switch</item-type >
134
+ <label >Repeat</label >
135
+ <description >Activate repeat mode</description >
136
+ </channel-type >
137
137
138
- <channel-type id =" playURI" advanced =" true" >
139
- <item-type >String</item-type >
140
- <label >Play URI</label >
141
- <description >Play the stream at given uri</description >
142
- </channel-type >
143
-
144
- <channel-type id =" playFile" advanced =" true" >
145
- <item-type >String</item-type >
146
- <label >Play file</label >
147
- <description >Play a file, located on your Volumio2 device at the given absolute path, e.g. "mnt/INTERNAL/song.mp3"</description >
148
- </channel-type >
138
+ <channel-type id =" playURI" advanced =" true" >
139
+ <item-type >String</item-type >
140
+ <label >Play URI</label >
141
+ <description >Play the stream at given uri</description >
142
+ </channel-type >
143
+
144
+ <channel-type id =" playFile" advanced =" true" >
145
+ <item-type >String</item-type >
146
+ <label >Play file</label >
147
+ <description >Play a file, located on your Volumio2 device at the given absolute path, e.g. "mnt/INTERNAL/song.mp3"</description >
148
+ </channel-type >
149
149
150
150
</thing : thing-descriptions >
0 commit comments