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]

Additions to proposed audio.slimserv schema


  • Subject: Additions to proposed audio.slimserv schema
  • From: John B
  • Date: Sun, 04 Jan 2004 09:49:00 +0000

Hi all,

Looking at enhancing the status reporting of audio.slimserv.

At the moment there is just one type of status message:

audio.slimserv
{
status=stopped  playing  paused
song=<name of song playing>
line1=<line 1 text from display>
line2=<line 2 text from display>
}

I'd like to expand this to add a TYPE= element, allowing different types of
status to be returned, just like the audio.rio schema.

So, we'd have things like:

audio.slimserv
{
TYPE=STATUS
STATUS=STOPPED
SONG=
LINE1=
LINE2=
}

And in response to a query for the state of the power:

audio.slimserv
{
TYPE=POWER
POWER=0  1
}

This mechanism could be employed to allow for any of the extended commands
to
return their status information.

E.g. if you sent:

xpl-cmnd
{
hop=1
source=xpl-xplhal.saturn
target=slimdev-slimserv.kitchen
}
audio.slimserv
{
command=none
extended=pause ?
}

The player would reply with:

xpl-stat
{
hop=1
source=slimdev-slimserv.kitchen
target=*
}
audio.slimserv
{
type=pause
pause=0
}

indicating that the player is not currently paused.

Thoughts?

Regards,

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.