
Copyright © 2009, 2010 Black Box Network Services
724-746-5500 | blackbox.com 25
XML API version 2
3.4.4.1 Get Ad hoc Radio
Get a list of channels available for an ad hoc tv item along with the currently selected channel.
Syntax
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<command_list>
<get_ad_hoc_item_info command_id="user specified id" item_name="ad hoc radio example"/>
</command_list>
Root element for all operations that can be requested
Get ad hoc item command name
A user specified string that identifies the command in a command_list. The response for
each command will be tagged with corresponding command_id.
Name of the ad hoc text item of interest
Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response_list status_code="0">
<get_ad_hoc_item_info status_code="0" command_id="1">
<data_radio item_name="ad hoc radio example">
<choice selected="no">BBC Radio 1 (S) (Stream)</choice>
<choice selected="yes">BBC 6 Music (S) (Stream)</choice>
<choice selected="no">TECH TVG Absolute Radio (Stream)</choice>
</data_radio>
</get_ad_hoc_item_info>
</response_list>
Kommentare zu diesen Handbüchern