User Guide

115
Standard NetLinx API (SNAPI) R 1.8.0
Disc Device Functions (Cont.)
Name Component Channel Level Command Constant Notes
processDiscInfoEvent(DiscInfo) IDiscDeviceComponentListener DISCINFO-
<num>,<duration>,<#
of titles>,<#of
tracks>,<disc-
Type>,<id>
Disc info changed, where <num> is disc
number, <duration> is a disc duration
String in the format [-]hh:mm:ss.ff, <# of
tracks> is the number of titles in this disc,
<# of tracks> is the number of tracks in this
disc, <disctype> is the disc type
(AUDIO_ONLY, VIDEO_ONLY, AUDIO-
VIDEO) and <id> is the disc database id.
processDiscPropertiesEvent(Properties) IDiscDeviceComponentListener DISCPROP-
<key>,<value>
Disc properties query changed, responds
with multiple DISCPROP-<key>,<value>
commands, one for each key
processRandom-
StateEvent(RANDOM_DISC)
IDiscDeviceComponentListener 178 DISC_RANDOM_DISC_FB Feedback Channel: Random state change
(see chart below)
processRandomStateEvent(RANDOM_ALL) IDiscDeviceComponentListener 179 DISC_RANDOM_ALL_FB Feedback Channel: Random state change
(see chart below)
processRandomStateEvent(RANDOM_OFF) IDiscDeviceComponentListener 180 DISC_RANDOM_OFF_FB Feedback Channel: Random state change
(see chart below)
processRepeatStateEvent(REPEAT_DISC) IDiscDeviceComponentListener 181 DISC_REPEAT_DISC_FB Feedback Channel: Repeat state change
(see chart below)
processRepeat-
StateEvent(REPEAT_TRACK)
IDiscDeviceComponentListener 182 DISC_REPEAT_TRACK_FB Feedback Channel: Repeat state change
(see chart below)
processRepeatStateEvent(REPEAT_ALL) IDiscDeviceComponentListener 183 DISC_REPEAT_ALL_FB Feedback Channel: Repeat state change
(see chart below)
processRepeatStateEvent(REPEAT_OFF) IDiscDeviceComponentListener 184 DISC_REPEAT_OFF_FB Feedback Channel: Repeat state change
(see chart below)
processTitleCounterEvent(MediaTime) IDiscDeviceComponentListener TITLECOUNTER-
<counter>
Title counter changed, where <counter> is
a String in the format [-]hh:mm:ss.ff
processTitleInfoEvent(TitleInfo) IDiscDeviceComponentListener TITLEINFO-
<num>,<duration>,<#
of tracks>,<discNum-
ber>
Title info changed, where <num> is title
number, <duration> is a title duration String
in the format [-]hh:mm:ss.ff, <# of tracks> is
the number of tracks inthis title and <disc-
Number> is the disc number the title
belongs to.
processTitlePropertiesEvent(Properties) IDiscDeviceComponentListener TITLEPROP-
<key>,<value>
Title properties query response, responds
with multiple TITLEPROP-<key>,<value>
commands, one for each key
cycleScanSpeed() IDiscTransportComponent 192 SCAN_SPEED Momentary Function Channel: Cycles the
scan speed when the channel is activated
getTrackInfo() IDiscTransportComponent ?TRACKINFO Query for the track info, responds with
TRACKINFO-<num>,<duration>,<disc-
Number>, where <duration> is a String in
the format hh:mm:ss.ff
queryTrackProperties() IDiscTransportComponent ?TRACKPROPS Query for the track properties, responds
with multiple TRACKPROP-<key>,<value>
commands, one for each key