beautypg.com

ClearOne StreamNet Integration User Manual

Page 38

background image

32

Technical Sales: 1.800.705.2103

C

ommaNd

: #meNu_lISt m, n, {{path}}

This command allows the user to traverse down a Menu List.
As explained above, the next level menu path is established by concatenating the item’s idpath and its id
separated by a “>” character.
Example: {{media>All Songs}} becomes the next menu path:

#@Stream 1:~UDP10.15.0.11_5000#menu_list 1,5,{{media>All Songs}}

The command is requesting menu items 1 to 5 of the menu list below the list All Songs, which was the first
item on the previous menu list.

r

eSPoNSeS

r

eCeIved

f

IrSt

r

eSPoNSe

#@SL22004285001161000172_4~TCP10.15.0.11_4781:Stream 1 #MENU_RESP {{idpath=”media>All Songs” disppath=”media>All Songs” itemnum=”1” id=”1481” display=”Brown,
Crane, Ker, Finesilver” children=”0” />}}
The next level menu path for this list is established by concatenating the item’s idpath and id separated by a
>”. Example: {{media>All Songs>1481}} becomes the next menu path for Borwn, Crane, Ker, Finesilver

itemnum=“1”

indicates this is the first item on this menu list.

display=“brown, Crane, Ker, Finesilver”

for this item.

children = ”0”

, indicates that this may be a terminal node (i.e., there are no items below this level).

Therefore, a further #MENU_LIST command would neither get a response nor a reaction. Instead, as
explained below, a #MENU_SEL command must be issued.

r

eSPoNSeS

2

through

5

These responses can be similarly parsed.

#@SL22004285001161000172_4~TCP10.15.0.11_4781:Stream 1 #MENU_RESP

{{All Songs” disppath=”media>All Songs” itemnum=”2” id=”1648”
display=”(Da Le) Yaleo” children=”0” />}}
#@SL22004285001161000172_4~TCP10.15.0.11_4781:Stream 1 #MENU_RESP

{{All Songs” disppath=”media>All Songs” itemnum=”3” id=”1606”
display=”(Hidden Track)” children=”0” />}}
#@SL22004285001161000172_4~TCP10.15.0.11_4781:Stream 1 #MENU_RESP

{{All Songs” disppath=”media>All Songs” itemnum=”4” id=”1974”
display=”11 O'Clock Tick Tock” children=”0” />}}
#@SL22004285001161000172_4~TCP10.15.0.11_4781:Stream 1 #MENU_RESP

{{All Songs” disppath=”media>All Songs” itemnum=”5” id=”1605”
display=”2000 Miles” children=”0” />}}
itemnum

= “5”. The positive value indicates there are more items on this list.

children

= “0”, in each of these items indicates that there are no more items under these items.

S

ummary

“All Songs” (the first item on the menu) has a list of items 1 to 5 which are displayed as:

Brown, Crane, Ker, Finesilver

1.

(Da Le) Yaleo

2.

(Hidden Track)

3.

11 OClock Tick Tock

4.

2000 Miles

5.