Beets: BPD: Update to newer MPD protocol version

Created on 2 Jun 2014  Â·  8Comments  Â·  Source: beetbox/beets

When running ncmpcpp, i get the following error message:

NCMPCPP: MPD < 0.16.0 is not supported

Can this be resolved by reporting a different version number to the clients? Or is there a fundamental difference in the code?

feature

Most helpful comment

If anyone is still following this issue, this is an update to say that we're almost there! I have a pull request in progress (#3214) that is aiming to finish off the final missing parts of the MPD protocol support for 0.16. It's at a stage where it's now talking to ncmpcpp and basic things like changing songs seem to work.

Simple clients like mpdscribble, mpDris and mpc all seem to be working OK. The more complex clients like MPDroid, M.A.L.P. and ncmpcpp are all still broken to varying degrees. I've been keeping a list of problems in the description of the PR and gradually addressing them. If you'd like to help this effort it'd be great to test out some of your favourite MPD clients with the code in that PR and report back about any further issues you find.

All 8 comments

Thanks for pointing this out. If you (or anyone) is interested in tackling this, the first step will be to answer that question: identify what has changed between the protocol we implement and 0.16.0+.

According to the mpd command reference, it seems like the new stuff after 0.13.0 (the version implemented by the bpd plugin) are:

  • idle command (probably the most important. it is the reason ncmpcpp can only work with >0.16.0)
  • single, consume, nextsong, nextsongid, elapsed parameters in the status command
  • single, consume playback options
  • auto replay gain mode
  • move playlist command
  • playlistinfo command
  • rangeid playlist command

I will look into implementing these changes so we can bump the proto version up to 0.19.0

Fantastic; thanks for looking into it!

Thank you Tiago! I've been wanting BPD working again for a long time now.
This is a dream come true. (Seriously, i was dreaming about this the other
night. My girlfriend tells me i'm a geek or something).

On Sun, Nov 9, 2014 at 11:28 AM, Adrian Sampson [email protected]
wrote:

Fantastic; thanks for looking into it!

—
Reply to this email directly or view it on GitHub
https://github.com/sampsyo/beets/issues/800#issuecomment-62313522.

Bearcat M. Şándor
Voice: 872.CAT.SOUL (872.228.7685)
Fax: 406.235.7070
My public pgp key is included for verification of my identity

Any progress on this? Would love to be able to use ncmpcpp with bpd :smile:

No news that's not listed here. If you're interested, please consider contributing.

If anyone is still following this issue, this is an update to say that we're almost there! I have a pull request in progress (#3214) that is aiming to finish off the final missing parts of the MPD protocol support for 0.16. It's at a stage where it's now talking to ncmpcpp and basic things like changing songs seem to work.

Simple clients like mpdscribble, mpDris and mpc all seem to be working OK. The more complex clients like MPDroid, M.A.L.P. and ncmpcpp are all still broken to varying degrees. I've been keeping a list of problems in the description of the PR and gradually addressing them. If you'd like to help this effort it'd be great to test out some of your favourite MPD clients with the code in that PR and report back about any further issues you find.

@arcresu Thanks for the hard work!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chayward1 picture chayward1  Â·  4Comments

Stunner picture Stunner  Â·  3Comments

Moonbase59 picture Moonbase59  Â·  4Comments

ctrueden picture ctrueden  Â·  3Comments

clounie picture clounie  Â·  3Comments