Toby wrote:
The xplmonitor output looks like this:
STAT slimdev-slimserv.LIVINGROOM * HBEAT.APP 12.05.2007
23:29 1 interval=5, port=50001, remote-ip=192.168.2.17,
schema=audio.slimserv, status=stopped
STAT slimdev-slimserv.LIVINGROOM * HBEAT.APP 12.05.2007
23:24 1 interval=5, port=50001, remote-ip=192.168.2.17,
schema=audio.slimserv, status=stopped
STAT xpl-xplhal.server * HBEAT.APP 12.05.2007 23:24
1 interval=5,
port=50000, remote-ip=192.168.2.17
TRIG slimdev-slimserv.LIVINGROOM * REMOTE.BASIC 12.05.2007
23:21 1 zone=slimserver, device=LIVINGROOM, keys=dead, power=off
TRIG slimdev-slimserv.LIVINGROOM * REMOTE.BASIC 12.05.2007
23:21 1 zone=slimserver, device=LIVINGROOM, keys=dead, power=off
TRIG slimdev-slimserv.LIVINGROOM * REMOTE.BASIC 12.05.2007
23:21 1 zone=slimserver, device=LIVINGROOM, keys=dead, power=off
STAT xpl-monitor.SERVER * HBEAT.APP 12.05.2007 23:20
1
Would you confirm that when you go to slimserver web interface -->
server settings -->network --> xpl settings --> infrared
processing is set as buttons?
Would you also confirm that you are trying the above with the squeezebox
turned off (it says so in the log actually power=off).
This is exactly the response I get when I have infrared processing set
as buttons and have the squeezebox off. If you switch it on however it
then sends out keys=numberscroll_1 (or 2 or 3) instead of keys=dead.
I am not sure if this behaviour has changed in recent builds - but I
doubt it as the xpl and infrared code has probably not changed for a
long time! Edit: looking at the example script on the xplhal website it
states that it only runs when the player is swtiched off - so this is a
new behaviour? Any one any idea when/why this was introduced?
I would suggest editing the infrared processing option and set it as "both".
This means every time you press a infrared button the 'code' for that
button is sent via xpl regardless of whether the squeezebox is on or off
and it recognises /any/ remote (alomost).
For example when I press '1' I get the output (even if the squeezebox is
on or off)
zone=slimserver
device=Lounge
keys=7689f00f
power=on
for 2... keys=768908f7
for 3....keys=76898877
Therefore in your script in xplhal you can change the following (copy
and pasted from the xplproject website)
if lcase(xpl.getparam(XplMsg,"keys",true)) = "7689f00f" Then
ElseIf lcase(xpl.getparam(XplMsg,"keys",true)) = "768908f7" and
ElseIf lcase(xpl.getparam(XplMsg,"keys",true)) = "76898877" and
Basically numberscroll_x has been changed to the corresponging 'code' as
above. You can check the appropriate code for the remote control button
yo want to use by looking in the xplmonitor whilst pressing the button
as you did earlier.
Hope this helps.
Please post back if you have any queries.
It may be worth informing the maintainer of xplproject.org that they
need to change their 'how-to' on this subject if you have success with this.
_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss