I'm trying to switch back a player using JSON because asking the 7.3.4
SC server through the CLI will sometimes fail.
I try this command:
@query =
[$playerid,['disconnect',$playerid,'www.mysqueezebox.com']];
jsonQuery(@query);
And I see this:
Code:
--------------------
$VAR1 = {
'params' => [
'00:04:20:1e:82:69',
[
'disconnect',
'00:04:20:1e:82:69',
'www.squeezenetwork.com'
]
],
'error' => undef,
'id' => '1',
'method' => 'slim.request',
'result' => {}
};
--------------------
Nothing happens.
I looked at the web interface using Firebug, and I can't make heads or
tails of what is happening when I click on the "Disconnect" button.
What is the correct query to disconnect a player, in JSON parlance ?
--
epoch1970
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=74667
_______________________________________________
squeezenetwork mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezenetwork