Librespot to use MPD as backend #125
Replies: 5 comments 9 replies
-
Hello, @MRodneyMcKay, no, at least AFAIK, there is no easy way to do that, I think MPD does not generally accept input from a pipe. You can setup both upmpdcli and spotconnect using docker using this repo and this other one if you prefer to use docker. But, back to your consideration:
What issue are you experiencing? MPD generally releases alsa devices when not in use, and so does Librespot AFAIK.
You might use the pipe output with SnapCast, but I have never used it until now. Or Owntone as well. Anyway in case you are looking for bitperfect audio with potentially other services with support for uncompressed audio (and maybe even hi res audio) support, using a pipe output won't probably be the best choice for you. Let me know if this helps! |
Beta Was this translation helpful? Give feedback.
-
Hello, I was thinking again about the issue with port 1900. I don't think it's SpotConnect conflicting with upmpdcli, because SpotConnect tries to discover UPnP devices, but does not expose itself as one. You might try running upmpdcli on your desktop (you will need to specify MPD_HOST and set it to your server), and verify if this runs properly. That would confirm the hypothesis. Let me know if this helps |
Beta Was this translation helpful? Give feedback.
-
spotconnect.log Here are all the logs |
Beta Was this translation helpful? Give feedback.
-
root@nas[~]# sudo lsof -i -P -n | grep upmpdcli root@nas[~]# sudo lsof -i -P -n | grep spot |
Beta Was this translation helpful? Give feedback.
-
Found this opened by yourself. 2025-05-17 10:03:35.963616+00:00[10:03:35.963] Start:1236 Binding to 192.168.1.107:49153 ... 2025-05-17 10:03:39.300563+00:00recv bind(): Address already in use If you can't try the binaries, maybe try: NETWORK_SELECT=192.168.1.107:49153 and see if this changes something. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Can you use MPD as the player backend for librespot?
I would like to have MPD as the player for upmpdcli and librespot, so, there would be no fight over who uses the dac.
In the documentation i have read about pipe output fot librespot, but i am not sure on how to use.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions