AMX CAFE DUET STANDARD NETLINX API (SNAPI) DEVICES Instruction Manual page 82

Standard netlinx api (snapi) r 1.8.0 devices
Table of Contents

Advertisement

Digital Media Server Functions (Cont.)
Name
updateRecord(rec)
processCloseEvent(String)
processDeleteRecordEvent(String, boolean)
processEndOfSetEvent(String)
processMediaDBPropertiesEvent(String,
Properties)
processQueryDBEvent(MediaRecord)
processSearchDBEvent(MediaSearchSet)
processStartOfSetEvent(String)
processUpdateRecordEvent(String, boolean)
cycleMediaDeviceRandom()
cycleMediaDeviceRepeat()
getMediaDeviceSource()
78
Component
Channel Level Command
IMediaDBComponent
IMediaDBComponentListener
IMediaDBComponentListener
IMediaDBComponentListener
IMediaDBComponentListener
IMediaDBComponentListener
IMediaDBComponentListener
IMediaDBComponentListener
IMediaDBComponentListener
IMediaDeviceComponent
124
IMediaDeviceComponent
125
IMediaDeviceComponent
Constant
MEDIADBUPDATE-
<id>,<name>,<record
type>[,<url>]
MEDIADBCLOS-
ESEARCH-<key>
MEDIADBDELETE-
<id>,<success>
MEDIADBEND-<key>
MEDIADBPROP-
<id>,<key>,<value>
MEDIADBRECORD-
<key>,<id>,<#>,<name
>,<record type>,<url>
MEDIADB-
SEARCHRESULT-
<key>,<count>
MEDIADBSTART-
<key>
MEDIADBUPDATE-
<id>,<success>
MEDIA_RANDOM
MEDIA_REPEAT
?DECODESOURCE
Notes
Update media record with record id of <id>,
where <name> is the new name and
<record type> is the new record type, i.e.
PICTURE, APPLICATION, TRACK, CHAP-
TER, PLAYLIST, BOOKMARK, DISC,
AUDIO, VIDEO, GENRE, ARTIST, STA-
TION and <url> is the existing media URL
to associate with the new/updated record
The search associated with search key
<key> have been closed. No more opera-
tions can be performed against this search.
Media record with record id of <id> was
deleted if <success> is 1, otherwise delete
failed.
End of search set was reached for search
with search key <key>
Media Database property value where <id>
is the record ID, <key> is the property key
and <value> is the property value. One
command is returned for each key.
Media record for search with search key
<key>. <id> is the record ID, <#> is the
record position from 1 to the total number
of records, <name> is the item name,
<record type> is the record type, which
could be PICTURE, APPLICATION,
TRACK, CHAPTER, PLAYLIST, BOOK-
MARK, DISC, AUDIO, VIDEO, GENRE,
ARTIST, STATION and <url> is the URL of
the media.
Media search results are available for
search with search key <key>. <count> is
the total count of records. Use MEDIADB-
NEXT and MEDIADBPREV to get more
records.
Beginning of search set was reached for
search with search key <key>
Media record with record id of <id> was
updated if <success> is 1, otherwise
update failed.
Momentary Function Channel: Cycle ran-
dom when channel is activated
Momentary Function Channel: Cycle
repeat when channel is activated
Query for Media Device Source, responds
with DECODESOURCE-<url> where <url>
is the URL of the source.
Standard NetLinx API (SNAPI) R 1.8.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cafe duet

Table of Contents