MPD icon indicating copy to clipboard operation
MPD copied to clipboard

Add support for the MPRIS2 protocol

Open MaeIsBad opened this issue 7 years ago • 9 comments

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

MaeIsBad avatar Jun 28 '18 20:06 MaeIsBad

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

MaeIsBad avatar Jul 06 '18 09:07 MaeIsBad

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.

MaxKellermann avatar Jul 06 '18 09:07 MaxKellermann

All right then. Thanks for amazing app

MaeIsBad avatar Jul 06 '18 09:07 MaeIsBad

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

carnager avatar Aug 09 '18 00:08 carnager

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

evgfilim1 avatar Jul 23 '21 07:07 evgfilim1

cantata (mpd client) has mpris support builtin.

leigh123linux avatar Jul 23 '21 07:07 leigh123linux

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?

coxackie avatar Nov 15 '21 15:11 coxackie

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.

MaxKellermann avatar Nov 15 '21 16:11 MaxKellermann

@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.

coxackie avatar Nov 15 '21 16:11 coxackie