arttuperala / kmbmpdc

kawaii menu bar music player daemon controller
https://kmbmpdc.perala.me
Apache License 2.0
46 stars 6 forks source link

kmbmpdc doesn't connect to mpd #13

Open danbee opened 6 years ago

danbee commented 6 years ago

I'm trying to get kmbmpdc running on my Mac. I've installed mpd via Homebrew and got it configured to run on localhost:6600. I can connect to it using cli/curses based clients.

kmbmpdc will not connect to it. It doesn't show any errors, it just does nothing. How can I figure out what is going wrong?

danbee commented 6 years ago

2018-07-30 14 00 48

danbee commented 6 years ago

2018-07-30 14 02 00

arttuperala commented 6 years ago

I'm not exactly sure what's happening there. It kinda looks like it manages to connect for a moment in that GIF when the icon changes colour briefly. Do you see anything in MPD's log when you attempt to connect?

danbee commented 6 years ago

Checked the logs, saw the line:

Jul 30 16:10 : exception: Failed to open /Users/danbarber/.mpd/playlists: No such file or directory

Created the directory.

All good. 👍

It's odd that other clients don't seem to be fazed by this though.

arttuperala commented 6 years ago

The terrible secret of kmbmpdc is that it's not exactly well made. The error handling is one of the many things that needs to have work done to it.