The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

audio.basic schema question


  • Subject: audio.basic schema question
  • From: John B
  • Date: Sat, 24 May 2003 21:38:00 +0000

Just looking at the audio.basic schema from TOny's site:

It contains the following:

<quote>
AUDIO.BASIC
{
COMMAND=<basic command>[<parameter>]
[EXTENDED=<extended command>[(<repeat>)]]
}
<snip>
Schemas which extend AUDIO.BASIC to support more capable audio playback
devices
should use the "CMD=" tag to indicate a BASIC Command, and
"EXT=3D" to indicate
the Extended Commands for that device.
</quote>

So, if you want to send an extended command (using extended= tag), what do
you
do with the command= tag?
It must be included, because it's not optional, so should it be blank?
(i.e.
just command=)

For example, a normal play command, supported under audio.basic would be:

audio.basic
{
command=play
}

However, suppose I add an extended command under audio.winamp to opne a
shoutcast station:

audio.winamp
{
command=?????
extended=openurl <a href="http://www.shoutcast.com/whatever";>http://www.shoutcast.com/whatever</a>
}

Any ideas? Tony?

Thanks,


John






xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.