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: Re: xAP Plug-in for SlimServer beta release



--------------080102010601080500050609
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I've just confirmed the problem is due to the messages having no target=
line in the header.

A kludge, pending Edward having a look, is to add the following code to
the routine _process_incoming_xap_data in comm.pm

if (!($$xap_data{'xap-header'}{target})) {
$$xap_data{'xap-header'}{target} = ">:>";
}

above this line in the code

$target   = $$xap_data{'xap-header'}{target};

Works then but I haven't checked for other side effects.

Lehane


Edward Pearson wrote:
>
> One thought - make sure you have the schema setting on 'SliMP3'
> not 'Slim' (in the config area of the web UI).
>
> --- In xap_automation@ yahoogroups. com
> <mailto:xap_automation%40yahoogroups.com>,
"Edward Pearson"
> <edward.mailgroup@ ...> wrote:
> >
> > Excellent that you're up and running now. I'll revise the install
> > notes with your experiences.
> >
> > The messages not appearing may be due to the address changes
> between
> > the two versions. James - can you advise on the settings changes
> > needed on the apps generating the messages please - I'm not
> running
> > weather, news etc currently (shame on me) so cannot test. This
> > sounds like the same issue you had during beta0 testing.
> >
> > If messages are being targetted to specific players then the
> target
> > address needs to be changed (example values):
> > from
> > target=kcs.slimp3. server.player1
> > to
> > target=ersp. slimserver. server:player1
> >
> > There's no requirement for the SlimPlayer to be on to display
> > messages (it's never really off - turning it 'off' just shows the
> > screensaver and maps most of the remote buttins to nothing). One
> > aspect of the old connector I have not yet replicated is the UI
> that
> > lets you customise the brightness that messages are displayed for
> > each of the Slim's on/idle/off states.
> >
> > --- In xap_automation@ yahoogroups. com
> <mailto:xap_automation%40yahoogroups.com>,
"Ian_Tickle" <ian@> wrote:
> > >
> > > I've now managed to get the plugin displayed on the
slimserver
> > webpage.
> > > All I did was change the folder from 'xap' to 'xAP' and
reboot
> the
> > > pc/restart slimserver. I don't know if renaming the folder
was
> the
> > > problem or it just needed a reboot.
> > > I can see the heartbeats via xap viewer, and every 60sec,
status
> > > messages are also recorded. What I still can't get to work
is
> the
> > > display of xap messages on my squeezebox (version 2).
> > > I am using xap hub, xap weather, xap news, mail monitor and
xap
> > OSD
> > > for mail programs, all running on the same pc as slimserver.
> > However
> > > when the squeezebox is in standby displaying date and time,
I no
> > > longer get periodic displays of news headlines, weather or
my
> > mail. If
> > > I run up the old slimserver connector (windows version) it
will
> > all
> > > work again ok (at least for a day or so, before stopping).
> > >
> > > As the plugin stands, will it automatically allow xap
display
> > messages
> > > to appear on my squeezebox, or does the squeezebox now have
to
> be
> > on
> > > all the time?
> > > I've looked at the xap settings on slimserver, there doesn't
> > appear to
> > > be anything that needs changing to enable the display.
> > > What i'm I doing wrong?
> > >
> > > Ian.
> > >
> >
>
>
>
------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.409 / Virus Database: 268.14.1/527 - Release Date:
09/11/2006
>


--------------080102010601080500050609
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">


I've just confirmed the problem is due to the messages having no
target= line in the header.<br>
<br>
A kludge, pending Edward having a look, is to add the following code to
the routine _process_incoming_xap_data in comm.pm<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if
(!($$xap_data{'xap-header'}{target})) {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
$$xap_data{'xap-header'}{target} = "&gt;:&gt;";<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
<br>
above this line in the code<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp; $target&nbsp;&nbsp; =
$$xap_data{'xap-header'}{target};<br>
<br>
Works then but I haven't checked for other side effects.<br>
<br>
Lehane<br>
<br>
<br>
Edward Pearson wrote:
<blockquote cite="midej1vij+co5q@xxxxxxx"
type="cite">
<meta http-equiv="Context-Type"
content="text/html; charset=ISO-8859-1">
<div>
<div>
<div>
<p>One thought - make sure you have the schema setting on 'SliMP3'
<br>
not 'Slim' (in the config area of the web UI).<br>
<br>
--- In <a href="mailto:xap_automation%40yahoogroups.com";>xap_automation@
yahoogroups. com</a>, "Edward Pearson" <br>
&lt;edward.mailgroup@ ...&gt; wrote:<br>
&gt;<br>
&gt; Excellent that you're up and running now. I'll revise the install
<br>
&gt; notes with your experiences.<br>
&gt; <br>
&gt; The messages not appearing may be due to the address changes
<br>
between <br>
&gt; the two versions. James - can you advise on the settings changes
<br>
&gt; needed on the apps generating the messages please - I'm not
<br>
running <br>
&gt; weather, news etc currently (shame on me) so cannot test. This
<br>
&gt; sounds like the same issue you had during beta0 testing.<br>
&gt; <br>
&gt; If messages are being targetted to specific players then the
<br>
target <br>
&gt; address needs to be changed (example values):<br>
&gt; from<br>
&gt; target=kcs.slimp3. server.player1<br>
&gt; to<br>
&gt; target=ersp. slimserver. server:player1<br>
&gt; <br>
&gt; There's no requirement for the SlimPlayer to be on to display
<br>
&gt; messages (it's never really off - turning it 'off' just shows the
<br>
&gt; screensaver and maps most of the remote buttins to nothing). One
<br>
&gt; aspect of the old connector I have not yet replicated is the UI
<br>
that <br>
&gt; lets you customise the brightness that messages are displayed for
<br>
&gt; each of the Slim's on/idle/off states.<br>
&gt; <br>
&gt; --- In <a href="mailto:xap_automation%40yahoogroups.com";>xap_automation@
yahoogroups. com</a>, "Ian_Tickle" &lt;ian@&gt;
wrote:<br>
&gt; &gt;<br>
&gt; &gt; I've now managed to get the plugin displayed on the
slimserver <br>
&gt; webpage.<br>
&gt; &gt; All I did was change the folder from 'xap' to 'xAP' and
reboot <br>
the <br>
&gt; &gt; pc/restart slimserver. I don't know if renaming the
folder
was <br>
the <br>
&gt; &gt; problem or it just needed a reboot.<br>
&gt; &gt; I can see the heartbeats via xap viewer, and every 60sec,
status <br>
&gt; &gt; messages are also recorded. What I still can't get to
work is
<br>
the <br>
&gt; &gt; display of xap messages on my squeezebox (version
2).<br>
&gt; &gt; I am using xap hub, xap weather, xap news, mail monitor
and
xap <br>
&gt; OSD <br>
&gt; &gt; for mail programs, all running on the same pc as
slimserver. <br>
&gt; However <br>
&gt; &gt; when the squeezebox is in standby displaying date and
time, I
no <br>
&gt; &gt; longer get periodic displays of news headlines, weather
or my
<br>
&gt; mail. If <br>
&gt; &gt; I run up the old slimserver connector (windows version)
it
will <br>
&gt; all <br>
&gt; &gt; work again ok (at least for a day or so, before
stopping).<br>
&gt; &gt; <br>
&gt; &gt; As the plugin stands, will it automatically allow xap
display
<br>
&gt; messages <br>
&gt; &gt; to appear on my squeezebox, or does the squeezebox now
have
to <br>
be <br>
&gt; on <br>
&gt; &gt; all the time?<br>
&gt; &gt; I've looked at the xap settings on slimserver, there
doesn't <br>
&gt; appear to <br>
&gt; &gt; be anything that needs changing to enable the display.
<br>
&gt; &gt; What i'm I doing wrong?<br>
&gt; &gt; <br>
&gt; &gt; Ian.<br>
&gt; &gt;<br>
&gt;<br>
<br>
</p>
</div>
<span></span>
<pre wrap="">
<hr size="4" width="90%">
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.1/527 - Release Date: 09/11/2006
</pre>
</blockquote>
<br>

<span width="1" style="color:
white;"/>__._,_.___</span>


<!-- **begin egp html banner** -->

<img src="http://geo.yahoo.com/serv?s=97476590/grpId=9674343/grpspId=1705007709/msgId=3268/stime=1163174862";
width="1" height="1"> <br>

<!-- **end egp html banner** -->


<!-- **begin egp html banner** -->

<br><br>
<div style="width:500px; text-align:right; margin-bottom:1px;
color:#909090;">
<tt>SPONSORED LINKS</tt>
</div>
<table bgcolor=#e0ecee cellspacing="13"
cellpadding="0" width=500px>
<tr valign=top>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads;_ylc=X3oDMTJjaXZwaWw0BF9TAzk3NDc2NTkwBF9wAzEEZ3JwSWQDOTY3NDM0MwRncnBzcElkAzE3MDUwMDc3MDkEc2VjA3NsbW9kBHN0aW1lAzExNjMxNzQ4NjI-?t=ms&k=X10+home+automation&w1=X10+home+automation&w2=Home+automation&w3=Home+automation+product&w4=Home+automation+system&w5=Home+automation+security&c=5&s=133&g=0&.sig=tN49yZ8gLW44qGV8ngn-6Q";>X10
home automation</a></tt>
</td>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads;_ylc=X3oDMTJjNjR2bm1xBF9TAzk3NDc2NTkwBF9wAzIEZ3JwSWQDOTY3NDM0MwRncnBzcElkAzE3MDUwMDc3MDkEc2VjA3NsbW9kBHN0aW1lAzExNjMxNzQ4NjI-?t=ms&k=Home+automation&w1=X10+home+automation&w2=Home+automation&w3=Home+automation+product&w4=Home+automation+system&w5=Home+automation+security&c=5&s=133&g=0&.sig=uxodCh5B-C-LfzJs4AF_uw";>Home
automation</a></tt>
</td>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads;_ylc=X3oDMTJjcTQ1cjJoBF9TAzk3NDc2NTkwBF9wAzMEZ3JwSWQDOTY3NDM0MwRncnBzcElkAzE3MDUwMDc3MDkEc2VjA3NsbW9kBHN0aW1lAzExNjMxNzQ4NjI-?t=ms&k=Home+automation+product&w1=X10+home+automation&w2=Home+automation&w3=Home+automation+product&w4=Home+automation+system&w5=Home+automation+security&c=5&s=133&g=0&.sig=-7-yoKCdmzYOn0eQU41W8Q";>Home
automation product</a></tt>
</td>
</tr>
<tr valign=top>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads;_ylc=X3oDMTJjMGU1bzRsBF9TAzk3NDc2NTkwBF9wAzQEZ3JwSWQDOTY3NDM0MwRncnBzcElkAzE3MDUwMDc3MDkEc2VjA3NsbW9kBHN0aW1lAzExNjMxNzQ4NjI-?t=ms&k=Home+automation+system&w1=X10+home+automation&w2=Home+automation&w3=Home+automation+product&w4=Home+automation+system&w5=Home+automation+security&c=5&s=133&g=0&.sig=YiCpy6REMq-ZQ9BflM6GVg";>Home
automation system</a></tt>
</td>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads;_ylc=X3oDMTJjcjl0MDd2BF9TAzk3NDc2NTkwBF9wAzUEZ3JwSWQDOTY3NDM0MwRncnBzcElkAzE3MDUwMDc3MDkEc2VjA3NsbW9kBHN0aW1lAzExNjMxNzQ4NjI-?t=ms&k=Home+automation+security&w1=X10+home+automation&w2=Home+automation&w3=Home+automation+product&w4=Home+automation+system&w5=Home+automation+security&c=5&s=133&g=0&.sig=MqsbZg2eMmjgfWfWU0yLgQ";>Home
automation security</a></tt>
</td>
</tr>
</table>

<!-- **end egp html banner** -->


<!-- **begin egp html banner** -->

<br>
<div style="font-family: verdana; font-size: 77%; border-top: 1px
solid #666; padding: 5px 0;" >
Your email settings: Individual EmailTraditional <br>
<a href="http://groups.yahoo.com/group/xap_automation/join;_ylc=X3oDMTJmMDQ0ZGxmBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzExNjMxNzQ4NjI-";>Change
settings via the Web</a> (Yahoo! ID required) <br>
Change settings via email: <a href="mailto:xap_automation-digest@xxxxxxx?subject=Email
Delivery: Digest">Switch delivery to Daily Digest</a>  <a
href = "mailto:xap_automation-fullfeatured@xxxxxxx?subject=Change
Delivery Format: Fully Featured">Switch to Fully Featured</a>
<br>
<a href="http://groups.yahoo.com/group/xap_automation;_ylc=X3oDMTJkc29qMzJyBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMTYzMTc0ODYy";>
Visit Your Group
</a>
<a href="http://docs.yahoo.com/info/terms/";>
Yahoo! Groups Terms of Use
</a>
<a href="mailto:xap_automation-unsubscribe@xxxxxxx?subject=Unsubscribe";>
Unsubscribe
</a>
<br>
</div>
<br>

<!-- **end egp html banner** -->


<span  style="color: white;"/>__,_._,___</span>
</body>
</html>

--------------080102010601080500050609--


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.