Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidMessage when playing a song #39

Closed
Allavaz opened this issue May 26, 2023 · 2 comments
Closed

InvalidMessage when playing a song #39

Allavaz opened this issue May 26, 2023 · 2 comments

Comments

@Allavaz
Copy link

Allavaz commented May 26, 2023

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.

@JakeStanger
Copy link
Owner

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.

@Allavaz
Copy link
Author

Allavaz commented May 27, 2023

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!

@Allavaz Allavaz closed this as completed May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants