User Guide
Standard NetLinx API (SNAPI) R 1.8.0
114
Disc Device Functions (Cont.)
Name Component Channel Level Command Constant Notes
queryTitleProperty(key) IDiscDeviceComponent ?TITLEPROP-<key> Query for a title property, responds with
TITLEPROP-<key>,<value> command
setDisc(discNumber) IDiscDeviceComponent SETDISC-<disc> Set disc number to <disc>, where <disc> is
1 to <x> where x is the disc capacity. (see
getDiscCapactiy() or module specific docu-
mentation)
setPlayPosition(titleNumber,trackNumber) IDiscDeviceComponent PLAYPOSITION-
<title>,<track>
Set the play position where <title> is the
Title number and <track> is the Track num-
ber
setPlayPosition(titleNumber,trackNumber,rel-
ativeCounter)
IDiscDeviceComponent PLAYPOSITION-
<title>,<track>,<counte
r>
Set the play position where <title> is the
Title number, <track> is the Track number
and <counter> is a String in the format [-
]hh:mm:ss.ff, mm should be 0 >= mm < 60,
ss should be 0 >= ss < 60, ff should be
valid for the disc type
setPlayPosition(trackNumber) IDiscDeviceComponent PLAYPOSITION-
<track>
Set the play position where <track> is the
Track nu mber
setPlayPosition(trackNumber,relative-
Counter)
IDiscDeviceComponent PLAYPOSITION-
<track>,<counter>
Set the play position where <track> is the
Track number and <counter> is a String in
the format [-]hh:mm:ss.ff, mm should be 0
>= mm < 60, ss should be 0 >= ss < 60, ff
should be valid for the disc type
setRandomState(RANDOM_DISC) IDiscDeviceComponent 178 DISC_RANDOM_DISC_ON Momentary Function Channel: Random-
disc is on while channel is active
setRandomState(RANDOM_ALL) IDiscDeviceComponent 179 DISC_RANDOM_ALL_ON Momentary Function Channel: Random-all
is on while channel is active
setRandomState(RANDOM_OFF) IDiscDeviceComponent 180 DISC_RANDOM_OFF_ON Momentary Function Channel: Random-off
is on while channel is active
setRepeatState(REPEAT_DISC) IDiscDeviceComponent 181 DISC_REPEAT_DISC_ON Momentary Function Channel: Repeat-disc
is on while channel is active
setRepeatState(REPEAT_TRACK) IDiscDeviceComponent 182 DISC_REPEAT_TRACK_O
N
Momentary Function Channel: Repeat-
track is on while channel is active
setRepeatState(REPEAT_ALL) IDiscDeviceComponent 183 DISC_REPEAT_ALL_ON Momentary Function Channel: Repeat-all is
on while channel is active
setRepeatState(REPEAT_OFF) IDiscDeviceComponent 184 DISC_REPEAT_OFF_ON Momentary Function Channel: Repeat-off
is on while channel is active
setTitleCounterNotificationOn(state) IDiscDeviceComponent TITLECOUNTERNO-
TIFY-<state>
Turn title counter notification on or off,
where <state> is 1 or 0