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

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

Advertisement

Digital Media Server Functions (Cont.)
Name
queryDB(mdbss, count)
queryMediaDBProperties(recordID)
queryMediaDBProperty(id,key)
searchDB(sr)
setMediaDBProperty(sID, sName,sValue)
Standard NetLinx API (SNAPI) R 1.8.0
Component
Channel Level Command
IMediaDBComponent
IMediaDBComponent
IMediaDBComponent
IMediaDBComponent
IMediaDBComponent
Constant
MEDIADBREFRESH-
<key>,<count>
?MEDIADBPROPS-
<id>
?MEDIADBPROP-
<id>,<key>
MEDIADBSEARCH-
<key>,<search
type>=<search
string>,RETURN=<retu
rn type>
MEDIADBPROP-
<id>,<key>,<value>
Notes
Refresh record starting with the last starting
position used with a MEDIADBNEXT or
MEDIADBPREV command for the media
search associated with search key <key>.
Responses with MEDIADBNEXT-
<key>,<count>,<position> where <key> is
the search key, <count> is the number of
records to expect and <position> is the
position of the first record to be returned
between 1 through the total number of
records.
Query for all Media Database Properties for
a given record where <id> is the record ID,
responds with multiple MEDIADBPROP-
<id>,<key>,<value>, one for each property,
where <id> is the record id of the record
from which to retrieve the properties, <key>
is the property key and <value> is the prop-
erty value.
Query for one Media Database Property
where <id> is the record ID and <key> is
the property key to query, responds with
MEDIADBPROP-<id>,<key>,<value>
where <id> is the record id of the record
from which to retrieve the properties, <key>
is the property key and <value> is the prop-
erty value.
Search the media database for records
with <search type> equal to <search
string>. If <search string> is "*", all records
are returned. <key> is a search key used
in other search operations, such as clos-
eSearchDB(). It can be any string you like,
such as a panel device number or internal
key that makes sense for your program. All
future DB operation associated with this
search will reference this key value.
<search type> can be ALL, ID, ARTIST,
GENRE, TITLE, KEYWORDS, PLAYLIST,
BOOKMARK. RETURN= is optional and
limits the type of items returned in the result
set where <result type> can be ALL, PIC-
TURE, APPLICATION, TRACK, CHAP-
TER, PLAYLIST, BOOKMARK, DISC,
AUDIO, VIDEO, GENRE, ARTIST, STA-
TION.
Set a Media Databse Property where <id>
is the record id of the record for which to
set the properties, <key> is the property
key and <value> is the property value.
77

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cafe duet

Table of Contents