notandy / ympd

Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS
http://www.ympd.org
GNU General Public License v2.0
515 stars 143 forks source link

CLI options issue #53

Closed mxjeff closed 9 years ago

mxjeff commented 9 years ago

I'm noticing a strange behaviour with CLI options:

$ ympd  
MPD Connecting to 127.0.0.1:6600
MPD connected.

But then if I use an explicit port number I got:

$ ympd  -p6600
Mongoose error: Cannot bind to port

What did I get wrong?

lnicola commented 9 years ago

It's an older bug, fixed here: https://github.com/notandy/ympd/commit/9728aae69c95592ab54c69a88186324907a8d0ff

mxjeff commented 9 years ago

Alright thanks GrayShade, I forgot to mention I'm running latest release v1.2.3.