[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: audio.basic schema question
- Subject: Re: audio.basic schema question
- From: Ian Lowe
- Date: Sat, 24 May 2003 21:54:00 +0000
Well, as the hooligan responsible for that one....
There is a general class of command based devices, where we are asking a
device or app to de something specific. The command= and extended= were
intended to be a general solution to the problem..
Given that a message which contains only an extended command will, by
definition, mean nothing to a device supporting only the basic command set
(or indeed a device using a different set of extended commands) I would
think the most compatible solution is
"command=none"
This is important to get right, as we will be needing something similar on
the OSD schema too: a "clear" command, as well as things like
"blink"...
the other thing to be resolved "once and for all" is whether it's
command=
and extended= or cmd= and ext=
Personally, my vote goes for the long versions.
Ian.
----- Original Message -----
From: "John B" <<a
href="/group/ukha_xpl/post?postID=a-phqVMjhg7uSJhXS3wRZ3esrqPEW1zs0nrkErXXNMLtytLnPImV02sF3AMlm_oXJXkOjI64UtbqbZ-9e0THo10AIDPV0Xw">home-automation@j...</a>>
To: <<a
href="/group/ukha_xpl/post?postID=vD1KEyTwstZpuFo__sT1WgpwmCb-5iU_7Ux33lD9Gh5JkCds1vJ0SPOt0T9XbPvXSP858VbCkHdUM9EluEk">ukha_xpl@xxxxxxx</a>>
Sent: Saturday, May 24, 2003 9:38 PM
Subject: [ukha_xpl] audio.basic schema question
> 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 Links: <a href="http://www.xplproject.org.uk">http://www.xplproject.org.uk</a>
<a href="http://www.xplhal.com">http://www.xplhal.com</a>
<a href="http://www.xpl.myby.co.uk">http://www.xpl.myby.co.uk</a>
> To Post a Message: <a
href="/group/ukha_xpl/post?postID=vD1KEyTwstZpuFo__sT1WgpwmCb-5iU_7Ux33lD9Gh5JkCds1vJ0SPOt0T9XbPvXSP858VbCkHdUM9EluEk">ukha_xpl@xxxxxxx</a>
> To Subscribe: <a
href="/group/ukha_xpl/post?postID=h6hYDkKbpPTmijiVWUp3MaMihG5adN3tupkMPkdTQFt-XoaK4EQjRGI_RA1oRVNhD67PEQDMrs9kXgTe-iNUnA05ZkmLYZo0Ng">ukha_xpl-subscribe@xxxxxxx</a>
> To Unsubscribe: <a
href="/group/ukha_xpl/post?postID=ACrV3qWkm2OhPtr_zYAsktjOytwj9_mDlRgxygmvtvnTi6BhlSG6hewQRXglvt3A94XyRk449HS7jT1C1ebWR8fPUSD3JOU9iID7">ukha_xpl-unsubscribe@xxxxxxx</a>
>
> Your use of Yahoo! Groups is subject to <a href="http://docs.yahoo.com/info/terms/">http://docs.yahoo.com/info/terms/</a>
>
>
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|