Summary – ClearOne StreamNet Integration User Manual
Page 37

Chapter 5: Services Described
31
S
eCoNd
r
eSPoNSe
#@SL22004285001161000172_4~TCP10.15.0.11_4750:Stream 1#MENU_RESP {{<item idpath=”media”
disppath=”media” itemnum=”2” id=”Artists” display=”Artists” children=”63” />}}
The next level menu path for this list is established by concatenating the item’s idpath and ID separated by
the “>” symbol.
Example: {{media>Artists}} becomes the next menu path.
itemnum = “2”
•
indicates this is the second item on this menu list.
display = “Artists
•
” is the display name for this list.
children = ”63”
•
indicates that this is not a terminal node. ie: there is another menu list below this
level.
r
eSPoNSeS
3
through
5
These responses can be similarly parsed.
#@SL22004285001161000172_4~TCP10.15.0.11_4750:Stream 1 #MENU_RESP {{<item
•
idpath=”media” disppath=”media” itemnum=”3” id=”Albums” display=”Albums” children=”116”
/>}}
#@SL22004285001161000172_4~TCP10.15.0.11_4750:Stream 1 #MENU_RESP {{<item
•
idpath=”media” disppath=”media” itemnum=”4” id=”Genres” display=”Genres” children=”12”
/>}}
#@SL22004285001161000172_4~TCP10.15.0.11_4750:Stream 1 #MENU_RESP {{<item
•
idpath=”media” disppath=”media” itemnum=”5” id=”Playlists” display=”Playlists” children=”3”
/>}}
S
Ixth
r
eSPoNSe
#@SL22004285001161000172_4~TCP10.15.0.11_4750:Stream 1 #MENU_RESP {{<item idpath=”media”
disppath=”media” itemnum=”-1” />}}
itemnum = “-1”. The negative value indicates there are no more items on this list.
S
ummary
The service Stream 1 menu has five items which are displayed as:
• All Songs
• Artists
Albums
•
• Genre
Playlists
•
Each of these branches has children (another menu list) under them.