Difference between revisions of "Template:C4V165 Variable SUmmary"

From LinnDocs
Jump to: navigation, search
m
m
Line 1: Line 1:
 
{| border="0" cellspacing = "0" cellpadding = "0" style="color:black" style="text-align: left;"
 
{| border="0" cellspacing = "0" cellpadding = "0" style="color:black" style="text-align: left;"
<!--Top Row-->
 
 
|-
 
|-
 
|colspan = "3"| <B><B>Variable Summary</b></b>
 
|colspan = "3"| <B><B>Variable Summary</b></b>
Line 29: Line 28:
 
|-
 
|-
 
|| || || ||<br>
 
|| || || ||<br>
 +
|}
 +
<!-- DS PLAYER --->
 +
{| border="0" cellspacing = "0" cellpadding = "0" style="color:black" style="text-align: left;"
 
|-
 
|-
||  
+
| width=40 |
| style="color:blue" | <B><u>Linn DS Series</u></b>
+
| width =150 style="color:blue" | <B><u>Linn DS Series</u></b>
| style="color:black"|
+
| width =100 style="color:black"|
 +
||
 
||
 
||
 
|-  
 
|-  
Line 42: Line 45:
 
|colspan="2"|<b><u>Purpose</u></b>
 
|colspan="2"|<b><u>Purpose</u></b>
 
|-   
 
|-   
||
+
|| ||<b>INPUT_NUMBER    </b>
||<b>INPUT_NUMBER    </b>
 
 
|colspan = "2"| Indicates which input is currently supplying audio to the room output:
 
|colspan = "2"| Indicates which input is currently supplying audio to the room output:
 
||
 
||
Line 60: Line 62:
 
|| || || ||<br>
 
|| || || ||<br>
 
|-
 
|-
||
+
|| ||<b>SOURCE_NAME    </b>
||<b>SOURCE_NAME    </b>
 
 
|colspan = "2"| The name of the currently playing source. Names are as defined on the DS using Konfig.
 
|colspan = "2"| The name of the currently playing source. Names are as defined on the DS using Konfig.
 
||
 
||
 
|-  
 
|-  
|)
+
|| || <b>PAUSED</b>
 +
| colspan="2"| true if playback is paused, else false.
 +
|-
 +
|| || <b>PLAYING</b>
 +
|colspan="2"| true if playback active, else false.
 +
|-
 +
|| || <b>STOPPED</b >
 +
|colspan="2"| true if playback stopped, else false.
 +
|-
 +
|| || <b>PLAY_STATUS</b>
 +
|colspan="2"| One of the following values:
 +
|}
 +
<!-- DS Play status -->
 +
{| border="0" cellspacing = "0" cellpadding = "0" style="color:black" style="text-align: left;"
 +
|-
 +
| width=40 |
 +
| width =150 |
 +
|width="230"| <b>PLAYBACK_STATE_IDLE</b>
 +
|| Playback has stopped.
 +
|-
 +
|| || || <b>PLAYBACK_STATE_PAUSED</b> || Playback is paused.
 +
|-
 +
|| || || <b>PLAYBACK_STATE_PLAYING</b> || Playback is active.
 +
|-
 +
 
 +
|}

Revision as of 13:23, 5 August 2021

Variable Summary
Linn Network
The driver has the following read-only variables in addition to the standard variables defined by Control4:
Variable Purpose
CONNECT_STATE Indicates the state of the connection from the driver to the Kazoo server gateway:
0 Not connected.
1 Connecting.
2 Connected.
32767 Fully initialised and operational.

Linn DS Series
The driver has the following read-only variables in addition to the standard variables defined by Control4:
Variable Purpose
INPUT_NUMBER Indicates which input is currently supplying audio to the room output:
-2 Songcast from a remote streamer.
-1 The local streamer.(Playlist/Radio)
0 Nothing
1..32 External input 1..32; see Properties to determine which input number corresponds to which input device.
Note that it is not guaranteed that the input number is 0 when the room is off, so programming should not rely on this nor on receiving a change in this value when the room switches on.

SOURCE_NAME The name of the currently playing source. Names are as defined on the DS using Konfig.
PAUSED true if playback is paused, else false.
PLAYING true if playback active, else false.
STOPPED true if playback stopped, else false.
PLAY_STATUS One of the following values:
PLAYBACK_STATE_IDLE Playback has stopped.
PLAYBACK_STATE_PAUSED Playback is paused.
PLAYBACK_STATE_PLAYING Playback is active.