I am looking for something I can run on a Pi that gives me access to my private audio library plus Spotify, because I hate switching apps. I want to access it from a desktop and Android. Does someone have something like this set up?
Like another commenter said, Mopidy can do it all in one instance. It works, but I personally find its integration with MPD clients to be a bit clunky so I don’t use it all that much.
Personally I use Snapcast as an endpoint, plain MPD for local files, and navidrome for remote access to my library.
Snapcast supports Spotify endpoints, so I just switch to my Spotify stream when I want to listen to Spotify and to my MPD stream when I want to listen to local stuff.
This is more of an ecosystem than a single solution though, so it may not be what you’re looking for.
Personally I use Snapcast as an endpoint, plain MPD for local files, and navidrome for remote access to my library.
That’s where I’ve been heading too. The snapcast client has been a bit unreliable for me on my desktop though (choppy and stuttering) but it’s great in its unix-like flexibility and I’m sure it will continue to get better.
Honestly, I hope that mobile connections in my country are one day: fast enough, cheap enough, and reliable enough that I could just use snapcast remotely and get truly seamless self-hosted streaming but that’s still a long way away I suspect.
I haven’t had any trouble with Snapclient when run in user mode on my desktop. It does get kinda wonky when run as a system service on desktop linux.
It could be some pipewire weirdness on the client, I’m not sure. I’ll probably also try using pipewire or pulse on the host and use their built in named pipe support. Maybe that will work better.
If you don’t mind switching to Tidal, you can do that with Plex. Otherwise, I don’t think it’s possible.
This is correct. It’s not a Spotify feature.
It is a feature on Apple Music, but it’s only possible to upload the music from the Mac app (in my experience).
Maybe mopidy although I haven’t used it myself. It’s mainly geared toward jukebox mode (so plays on the server) but you can stream to other devices through HTTP or snapcast.
Volumio can do this with the right plugins, but it’s a bit janky and not as seamless as mopidy
Try LMS (Logitech Mediaserver). It’s really old but combined with plugins it’s second to none.
Don’t know if it meets your ‘self-hosting’ requirements but Volumio handles local and Spotify, among other streaming services.