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