Hi Greg.

It's not password protected, and I am using Material Skin.  The problem
is very reproduceable, so I got a wireshark capture by leaving wireshark
running as I suspended and re-awoke the PC.  From looking at the capture
and trying to surmise what it's doing, there are a few different HTTP
interactions, but looking at the key one (stream 25) it seems to do the
following:

POST REQUEST WITH PARAMETERS:
{\"ID\":0,\"METHOD\":\"SLIM.REQUEST\",\"PARAMS\":[\"\",[\"SERVERSTATUS\",0,100]]}
This gets a response that lists among other things all the connected
players *but NOT the squeezelite-X player itself*. 

POST REQUEST WITH PARAMETERS
{\"DATA\":{\"RESPONSE\":\"/C9ED997C/SLIM/SERVERPREFS\",\"REQUEST\":[[\"PREFSET\"]]},\"ID\":\"38\",\"CHANNEL\":\"/SLIM/SUBSCRIBE\",\"CLIENTID\":\"C9ED997C\"}
[/B]
THIS GETS A SUCCESS RESPONSE.

[B]POST REQUEST WITH PARAMETERS
{\"ID\":0,\"METHOD\":\"SLIM.REQUEST\",\"PARAMS\":[\"CC:CC:09:E2:4B:D0\",[\"STATUS\",0,500,\"TAGS:CDEGILQTYSAKNS\"]]}
This gets a success response with a bunch of details about the player
with the MAC address cc:cc:..... which is the player that it always
incorrectly picks, which is NOT the squeezelite-X player.

So it looks to me like it's what I had suggested previously, at the
point where the server is queried for the list of active players, the
Squeexelite-X player has not yet been registered. So it can't be chosen,
and it ends up picking the first one in the list instead.

There's another stream (stream 22) as well, which looks like it might be
the one that is actually registering the local player. That seems to get
a failure, it then retries and gets a success, and then sends a few more
"subscribe" requests.

I've attached the full decodes as text files on the assumption they'll
mean more to you (or mherger) than me !


31833
31834


+-------------------------------------------------------------------+
|Filename: stream22.txt                                             |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31834|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
tw99's Profile: http://forums.slimdevices.com/member.php?userid=51684
View this thread: http://forums.slimdevices.com/showthread.php?t=108550

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to