User Guide
79
Standard NetLinx API (SNAPI) R 1.8.0
Digital Media Server Functions (Cont.)
Name Component Channel Level Command Constant Notes
queryMediaDeviceProperties() IMediaDeviceComponent ?DECODEPROPS Query for all Media Device Properties,
responds with multiple DECODEPROP-
<key>,<value>, one for each property,
where <key> is the property key and
<value> is the property value.
queryMediaDeviceProperty(sKeyName) IMediaDeviceComponent ?DECODEPROP-
<key>
Query for one Media Device Properties,
responds with DECODEPROP-
<key>,<value> where <key> is the property
key and <value> is the property value.
setMediaDeviceCounterNotificationOn(state) IMediaDeviceComponent MEDIACOUNTERNO-
TIFY-<state>
Turn media counter notification on or off,
where <state> is 1 or 0
setMediaDeviceRandom-
State(RANDOM_DISC)
IMediaDeviceComponent 178 MEDIA_RANDOM_DISC_O
N
Momentary Function Channel: Random-
disc is on while channel is active
setMediaDeviceRandom-
State(RANDOM_ALL)
IMediaDeviceComponent 179 MEDIA_RANDOM_ALL_ON Momentary Function Channel: Random-all
is on while channel is active
setMediaDeviceRandom-
State(RANDOM_OFF)
IMediaDeviceComponent 180 MEDIA_RANDOM_OFF_ON Momentary Function Channel: Random-off
is on while channel is active
setMediaDeviceRepeat-
State(REPEAT_DISC)
IMediaDeviceComponent 181 MEDIA_REPEAT_DISC_ON Momentary Function Channel: Repeat-disc
is on while channel is active
setMediaDeviceRepeat-
State(REPEAT_TRACK)
IMediaDeviceComponent 182 MEDIA_REPEAT_TRACK_
ON
Momentary Function Channel: Repeat-
track is on while channel is active
setMediaDeviceRepeatState(REPEAT_ALL) IMediaDeviceComponent 183 MEDIA_REPEAT_ALL_ON Momentary Function Channel: Repeat-all is
on while channel is active
setMediaDeviceRepeatState(REPEAT_OFF) IMediaDeviceComponent 184 MEDIA_REPEAT_OFF_ON Momentary Function Channel: Repeat-off
is on while channel is active
setMediaDeviceSource(cURISource) IMediaDeviceComponent DECODESOURCE-
<url>
Set Media Device Source where <url> is
the URL of the source.
processMediaDeviceCounterEvent(Media-
Time)
IMediaDeviceComponentListener MEDIACOUNTER-
<counter>
Media counter changed, where <counter>
is a String in the format [-]hh:mm:ss.ff
processMediaDevicePropertiesEvent(Proper-
ties)
IMediaDeviceComponentListener DECODEPROP-
<key>,<value>
Media property value where <key> is the
property key and <value> is the property
value. One command is returned for each
key.
processMediaDeviceRandom-
StateEvent(RANDOM_DISC)
IMediaDeviceComponentListener 178 MEDIA_RANDOM_DISC_F
B
Feedback Channel: Random state change
(see chart below)
processMediaDeviceRandom-
StateEvent(RANDOM_ALL)
IMediaDeviceComponentListener 179 MEDIA_RANDOM_ALL_FB Feedback Channel: Random state change
(see chart below)
processMediaDeviceRandom-
StateEvent(RANDOM_OFF)
IMediaDeviceComponentListener 180 MEDIA_RANDOM_OFF_FB Feedback Channel: Random state change
(see chart below)
processMediaDeviceRepeat-
StateEvent(REPEAT_DISC)
IMediaDeviceComponentListener 181 MEDIA_REPEAT_DISC_FB Feedback Channel: Repeat state change
(see chart below)
processMediaDeviceRepeat-
StateEvent(REPEAT_TRACK)
IMediaDeviceComponentListener 182 MEDIA_REPEAT_TRACK_F
B
Feedback Channel: Repeat state change
(see chart below)