JakeStanger/mpd-discord-rpc

InvalidMessage when playing a song

Allavaz opened this issue · 2 comments

Hi, I installed this with cargo, and when I run it it seems to work fine until I play a song, I get a InvalidMessage error:

image

I'm on macOS Monterey if it's any help. Let me know if you need any extra info.

Hey, it looks like that's an issue with the MPD Client library based on the errors. That may be doing something Linux-specific, causing a problem with the connection on macOS.

If you open an issue there, you can reference this one and I'll keep an eye on it and update the library here when I can.

Turns out it was actually a bug in MPD itself, it was sending invalid UTF-8 when I telnet'd into it and asked for the current song, so mpd_client couldn't handle it. I installed the master branch version of MPD and now it works fine. Also mpd-discord-rpc is working fine now. Thanks for the help!