Command: #query source – ClearOne StreamNet Integration User Manual

Page 39

Advertising
background image

Chapter 5: Services Described

33

The “All Songs” menu had shown it had 1078 children of which the command #menu_list 1,5,{{media>All
Songs}}
requested a list of items 1-5.
Similarly, if the integrator wanted to see the list under the second item, “Artists”, the command syntax would
be:
#@Stream 1:~UDP10.15.0.11_5000#menu_list 1,5,{{media>Artists}}

C

ommaNd

: #query SOURCE

Gets details on the current Media being played.
Example: #@Stream 1:~UDP10.15.0.11_5000#qUERy source

r

eSPoNSe

r

eCeIved

#@SL22004285001161000172_4~UDP 10.15.0.11_4028:Stream 1#REPORT {{<report type=”source”
artwork=”http://10.15.100.116/7.0.5/Database/Music/Covers/s4/s3/Nails-Corpus Christi”
display=”song/artist/album/genre” song=”14 Dreams” album=”Corpus Christi” artist=”Nails”
genre=”Rock” time=”376” percent=”59” sngPlIndex=”79” sngPlTotal=”11169” source=”Stream 1”
elapsed=”223744”
next=”14 Years” active=”2” controlState=”PAUSE” shuffle=”0” />}}

This command gives a report of the current song in “Stream 1”

•

The display attribute gives a suggestion of which items to display and with what priority.

•

In this example, the audio source “Stream 1” is suggesting that the song title is the most important

•

item to display, followed by the artist’s name, the album name and finally the genre.
The UI device is not bound by the suggestion.

•

NOTE

f

: #REPORT responses shall in no case exceed 1000 characters, but data may be

distributed among multiple #REPORT messages.

Advertising