Bug 14544 - playlistcontrol command doesn't work
: playlistcontrol command doesn't work
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: 7.4.0
: PC Other
: -- normal (vote)
: 7.4.x
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-02 19:57 UTC by Joerg Schwieder
Modified: 2009-12-16 06:49 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 Joerg Schwieder 2009-10-02 19:57:55 UTC
I've got a customer with a strange reaction from his Squeezebox Server which makes iPeng almost unusable for him.

The "playlistcontrol" command, which iPeng uses to start playback doesn't seem to work.

This is a Mac:
Version: 7.4.0 - r28672 @ Mon Sep 28 17:49:57 PDT 2009
Hostname: Media-Mini.local
Server IP Address: 10.0.1.3
Server HTTP Port Number: 9000
Operating system: Mac OS X 10.5.8 (9L31a) - EN - utf8
Platform Architecture: x86
Perl Version: 5.8.8 - darwin-thread-multi-2level
MySQL Version: 5.0.22-standard
Total Players Recognized: 1

And the log file states:

[{"clientId":null,"id":"93","channel":"/slim/request","successful":true}]
[09-10-03 11:52:43.5714] Slim::Web::Cometd::handler (143) Cometd request: [
  {
    channel => "/slim/request",
    data => {
          request  => [
                        "00:04:20:06:f1:0d",
                        ["playlistcontrol", "cmd:load", "album_id:825"],
                      ],
          response => "/ef17bec2/slim/request",
        },
    id => 94,
  },
]
[09-10-03 11:52:43.5943] Slim::Control::Request::execute (1918) Error: While trying to run function coderef [Slim::Control::Commands::playlistcontrolCommand]: [Can't call method "name" on an undefined value at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Control/Commands.pm line 1889.
]
[09-10-03 11:52:43.5951] Slim::Web::Cometd::sendHTTPResponse (662) Sending Cometd Response:
HTTP/1.1 200 OK
Cache-Control: no-cache
Connection: keep-alive
Pragma: no-cache
Content-Length: 109
Content-Type: application/json
Expires: -1

[{"error":"request failed with error: Bad dispatch!","id":"94","channel":"/slim/request","successful":false}]
Comment 1 rrhawks 2009-10-29 13:02:26 UTC
I am the customer Joerg was referring to. I am happy to report that the official release of 7.4.1 fixed this issue for me.
Comment 2 Michael Herger 2009-12-16 06:49:08 UTC
Thanks for the feedback!