Wanted: audio library streaming plus Spotify

state_electrician@discuss.tchncs.de to Selfhosted@lemmy.world – 8 points –

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?

13

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.

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.

Don’t know if it meets your ‘self-hosting’ requirements but Volumio handles local and Spotify, among other streaming services.

Try LMS (Logitech Mediaserver). It's really old but combined with plugins it's second to none.

I don't have any experience with it, but there is a project called mopidy that I believe can play from many different services, including local music and spotify.