MusicPlayerDaemon / MPD

Music Player Daemon
https://www.musicpd.org/
GNU General Public License v2.0
2.16k stars 348 forks source link

Add support for the MPRIS2 protocol #302

Open MaeIsBad opened 6 years ago

MaeIsBad commented 6 years ago

It'd be great if we could have MPRIS2 as a output device to control MPD and display info

MaeIsBad commented 6 years ago

Does unstable label mean it got already implemented and should appear on stable relase soon?

MaxKellermann commented 6 years ago

No. It means it would need to be implemented in the unstable branch, if ever. Nobody is working on that, and I know nobody who's interested in implementing it. This is only the second time in 10 years MPRIS was ever mentioned. Given how complicated D-Bus and MPRIS is (and how unnecessary this complexity is), I don't think it's worth my time.

MaeIsBad commented 6 years ago

All right then. Thanks for amazing app

carnager commented 6 years ago

@JustABanana Take a look at https://github.com/eonpatapon/mpDris2

evgfilim1 commented 3 years ago

One more good thing that worth looking at is https://github.com/natsukagami/mpd-mpris

leigh123linux commented 3 years ago

cantata (mpd client) has mpris support builtin.

coxackie commented 2 years ago

I would be nice to have this support actually built-in in mpd. Is it quite difficult to port the go code from https://github.com/natsukagami/mpd-mpris?

MaxKellermann commented 2 years ago

No Go code will be merged into MPD. For a simple feature like this one, it would add a huge amount of overhead (the whole Go runtime with its garbage collector and dozens of threads each consuming megabytes of RAM), and would complicate the MPD build.

coxackie commented 2 years ago

@MaxKellermann Sorry, I think I got misunderstood. I meant to ask how hard it would be to port the specific go code to c. Not to actually use the code as is.