Bugzilla – Bug 7349
playlist command over JSON/RPC doesn't return
Last modified: 2009-07-31 10:17:42 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.
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.
(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
Reduce number of active targets for SC