Bug 7349 - playlist command over JSON/RPC doesn't return
: playlist command over JSON/RPC doesn't return
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: 7.0
: Macintosh Other
: -- normal (vote)
: 7.x
Assigned To: Andy Grundman
http://forums.slimdevices.com/showthr...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-28 06:38 UTC by Michael Herger
Modified: 2009-07-31 10:17 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Herger 2008-02-28 06:38:13 UTC
[08-02-27 20:28:36.2864] Slim::Web::JSONRPC::handleURI (108) POST data: [{"id":1,"method":"slim.request","params":["00:04:20:16:00:eb",["playlist","play","http://wfmu.org/wfmu.pls"]]}]
[08-02-27 20:28:36.2889] Slim::Web::JSONRPC::handleURI (126) JSON parsed procedure: {
id => 1,
method => "slim.request",
params => [
"00:04:20:16:00:eb",
["playlist", "play", "http://wfmu.org/wfmu.pls"],
],
}
[08-02-27 20:28:36.2912] Slim::Web::JSONRPC::requestMethod (308) requestMethod([
"00:04:20:16:00:eb",
["playlist", "play", "http://wfmu.org/wfmu.pls"],
])
[08-02-27 20:28:36.2922] Slim::Web::JSONRPC::requestMethod (330) Parsing command: Found client [00:04:20:16:00:eb]
[08-02-27 20:28:36.2939] Slim::Web::JSONRPC::requestMethod (352) Dispatching...
[08-02-27 20:28:36.3074] Slim::Web::JSONRPC::requestMethod (370) Request is async: will be back
[08-02-27 20:28:36.8085] Slim::Web::JSONRPC::requestWrite (398) requestWrite()
[08-02-27 20:28:36.8099] Slim::Networking::Select::select (245) Error: Select task failed: Can't call method "connectionID" on an undefined value at /home/dan/source/squeezecenter-7.0-17491/Slim/Web/JSONRPC.pm line 403.


The stream starts playing, but the JSON request never returns anything to the browser.
Comment 1 Andy Grundman 2008-03-05 16:43:41 UTC
Fixed in change 17807.  For reasons not obvious to me, _playlistXitem_load_done does some evil things and calls a request callback directly instead of letting it be handled by setStatusDone.
Comment 2 James Richardson 2008-05-08 15:36:13 UTC
(In reply to comment #1)
> Fixed in change 17807.  For reasons not obvious to me, _playlistXitem_load_done
> does some evil things and calls a request callback directly instead of letting
> it be handled by setStatusDone.
> 

Closing bug
Comment 3 Chris Owens 2009-07-31 10:17:42 UTC
Reduce number of active targets for SC