mpc-js-node icon indicating copy to clipboard operation
mpc-js-node copied to clipboard

Unexpected status line: OK MPD 0.20.0

Open Narven opened this issue 5 years ago • 1 comments

When I try to use this lib, to call my MPD server

im getting

Unexpected status line: OK MPD 0.20.0

on the client and:

Apr 09 17:15 : client: [15] opened from 0.0.0.0:38580
Apr 09 17:15 : client: [15] process command "GET / HTTP/1.1"
Apr 09 17:15 : client: [15] command returned 2
Apr 09 17:15 : client: [15] process command "Cookie: io=nMM0wOQpMkCoKZylAAAN"
Apr 09 17:15 : client: [15] command returned 3
Apr 09 17:15 : client: [15] closed

Any idea? thanks

Narven avatar Apr 09 '19 17:04 Narven

It looks like you're trying to connect to MPD using an HTTP client!? Are you using mpc-js-web? If not, what are you doing to connect to MPD using mpc-js-node?

hbenl avatar Apr 10 '19 18:04 hbenl