[Message Prev][Message Next][Thread Prev][Thread Next][Message
Index][Thread Index]
xAP for Squeezebox Server
- Subject: xAP for Squeezebox Server
- From: "la6bla" <tusvik2@xxxxxxxxx>
- Date: Tue, 03 Jul 2012 11:32:47 -0000
Hi,
I have a problem sending text to my Squeezebox devices via the xAP plugin.
Other commands such as "pause playback" works fine. Also BSC
messages from plugin are transmitted as they should. But when I send an xAP
message to the plugin like this:
xap-header
{
v=13
hop=1
uid=FF.000E:0000
class=Message.Display
source=ersp.testscript.test
target=ersp.SlimServer.Srv:>
}
Display.Text
{
Line1=aaaaa
Line2=bbbbb
}
The network symbol on the SB devices turns from white to red for a few
seconds. I have tried changing parameters in xAP message, but same thing
happens.
I ran Wireshark to see what's transmitted to the device to compare packages
from xAP plugin and the SB Telnet CLI command "Display
cccccccccccccccccc", which works.
Package from CLI:
[{"data":{"type":"showbriefly","display":{"text":["cccccccccccccccccc",null]}},"id":"7","channel":"/d2c8720b/slim/displaystatus/00:04:20:17:db:e6","ext":{"priority":""}}]
Package when sending message via xAP plugin:
[{"error":"encountered CODE(0x8655fc4), but JSON can only
represent references to arrays or hashes at
/<C:\\PROGRA~1\\SQUEEZ~1\\server\\SqueezeSvr.exe>Slim/Web/Cometd.pm
line 692.\n","successful":false}]
Sqeeze server log shows no errors for none of the methods:
[12-07-03 12:18:04.6948] Slim::Display::NoDisplay::showBriefly (34) caller
Plugins::xAP::Display::showMessage (110) notifyLevel=1
[12-07-03 12:18:26.9863] Slim::Display::NoDisplay::showBriefly (34) caller
Slim::Control::Commands::displayCommand (1884) notifyLevel=1
Debug log looks good too.
Versions:
Logitech Media Server Version: 7.7.2 - r33893
Player Firmware: 7.7.2-r9663
Both controller and radios.
xAP Home Automation (v2.4.3)
Win2003 32bit server.
------------------------------------
xAP_Automation Main Index |
xAP_Automation Thread Index |
xAP_Automation Home |
Archives Home
|