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]

Re: Updated xAPTV released



Very nice.
When requesting the trigger info, would it be possible to introduce an item
value into the source? So the trigger request could return a source
according to channel, title, sequence, etc. Perhaps have the source
specified in the settings file or as part of the .request message.

Max


**************************************************************
----- Original Message -----
From: James Traynor
To: xap_automation@xxxxxxx
Sent: Sunday, August 15, 2004 12:53 AM
Subject: [xap_automation] Updated xAPTV released


I have just uploaded a new update to the xAPTV application. All the old
features are still there including:
Downloading of Bleb or xmltv data
Ability to set alerts and when those alerts happen send messages to
Desktop,Watcher,Slimp3 or Squeezebox.
Periodic send of current tv programmes and what's on next.
A simple GUI to view upcoming programmes

and the new features

The GUI now lists programmes up to 6am on the next day
The next few triggers are now sent over xAP. The amount and number can
be set from the settings file
You can request over xAP for the now/next information to be resent
You can request over xAP for the trigger information to be resent
You can now search for programmes via xAP using wild cards and on any field
The duration= field now reports the correct programme duration in minutes

Download from www.mi4.biz


To Request the now/next info to be sent
----------------------------------------
xap-header
{
v=12
hop=1
uid=FF400100
class=tvradio.request
source=mi4.test.me
}
Request
{
Request=nownext
}

To Request the trigger info to be sent
----------------------------------------
xap-header
{
v=12
hop=1
uid=FF400100
class=tvradio.request
source=mi4.test.me
}
Request
{
Request=trigger
}


To Search for Programmes
---------------------------
xap-header
{
v=12
hop=1
uid=FF400100
class=tvradio.search
source=mi4.test.me
}
Search
{
start=now
end=20040909000000
channel=*1
description=*the *
}
This will search for any programme from now until the 9/9/04 where the
channel ends in 1 and the description contains "the"

xap-header
{
v=12
hop=1
uid=FF400100
class=tvradio.search
source=mi4.test.me
}
Search
{
title=*red*
}
Will send any programme with "red" in the title.
NB. the search fields are optional but at least one is required.  The
response is targeted back to the xAP application that requested it.
an example response is:
xap-header
{
v=12
hop=1
uid=FF234400
class=tvradio.results
source=mi4.tvradio.laptop
target=mi4.test.me
}
Results
{
end=20040815171500
description=The latest stories from the BBC London newsroom. Weather
follows.
title=BBC London News
duration=5
station=bbc1
start=20040815171000
}
Search
{
end=20040909000000
description=*the *
title=
station=*1
start=20040815003600
}

As you see the search parameters are sent back in the response.



Enjoy

James




xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation 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.