Table of contents

AUDIO.BASIC Message Specification

  • Class = AUDIO
  • Type = BASIC

This Schema provides a simple method of interacting with Generic Audio playback Devices.


XPL-CMND Structure

AUDIO.BASIC
{
COMMAND=<basic command>[<parameter>]
[EXTENDED=<extended command>[(<repeat>)]]
}

Where Basic Commands are:

  • PLAY
  • STOP
  • VOLUME +<step> or ><step>
  • VOLUME -<step> or <<step>
  • VOLUME <level 1 to 100>
  • SKIP
  • BACK
  • RANDOM
  • CLEAR


AUDIO.REQUEST
{
CMD=STATUS
}
Returns last sent status message (see below)

XPL-TRIG Structure

AUDIO.BASIC
{
COMMAND=<command>
}


XPL-STAT Structure

AUDIO.BASIC
{
Status=<status>
<other relevant items>
}

Valid Status:

STATUS=STOPPED
STATUS=PLAYING
 TYPE=SHOUTCAST
 STATION=<stream name>
STATUS=PLAYING
 TYPE=<type e.g. MP3>
 ARTIST=<artist name>
 ALBUM=<album title>
 TRACK=<track name>
STATUS=NEXT
 TYPE=<type e.g. MP3>
 ARTIST=<artist name>
 ALBUM=<album title>
 TRACK=<track name>
HBEAT.BASIC
{
INTERVAL=5
}


Schema Specific Notes

This Schema defines two name value pairs, CMD and EXT.

All devices using the simple AUDIO.BASIC Schema must be able to interpret the common commands, PLAY, STOP, VOLUME (with the parameters listed above), SKIP, BACK, RANDOM, CLEAR.

Schemas which extend AUDIO.BASIC to support more capable audio playback devices should use the "CMD=" tag to indicate a BASIC Command, and "EXT=" to indicate the Extended Commands for that device.


Standard Schema Notes


This page was last modified 14:24, 21 Nov 2005. This page has been accessed 621 times.

  
MediaWiki

Copyright © The xPL Project 2004-2007