this post was submitted on 21 Jun 2023
21 points (100.0% liked)

Selfhosted

40345 readers
419 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Summary first - I'm looking for software to use for web-controlled music playback. Main requirement is playback via a DAC on the hosting device and a half-decent UI for it (though streaming would be nice...).

Hardware-wise, I've currently got a Pi Zero W paired with a HiFiBerry DAC+ Zero, which has been fine for me quality-wise, routed as an aux input to an old HiFi. That, plus plenty of space elsewhere to host split apps - currently running Emby as a main streaming host for other media, and the media is just on a NAS pulling over NFS.

I've been using Volumio for a while, but have been frustrated with a few things (UI, playlist management, etc) so I'm looking for a change. Streaming from Emby/Jellyfin via DLNA looks like it might be a decent fallback, but I'm wondering if there are any nicer ways to handle it.

Any ideas? Open to switching a few bits of infrastructure around, of course :)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year ago (2 children)

I would even go as far as to recommend checking out the project underlying Jellyfin integration, mopidy - it's a well-rounded audio server, which allows you to play your local collection, network shares, as well as to integrate different external music services. Several front-ends are available as extensions, plus you can install additional extension to expose the MPD protocol, allowing you to control it remotely via one of many MPD clients.

For playback, you can install it on the Pi itself, or have it running on a separate machine, with the Pi itself running a low-complexity RTP receiver. :)

[–] easeKItMAn 1 points 1 year ago

I second this approach and have it running since several years. Tried volumio/jelly and others but mpd/snap is the most flexible one. Spin up docker mopidy/snapserver/snapweb, and if required shairport. It basically enables you streaming like Sonos to other instances running snapclients connected to speakers. All controlled via webUI, or native apps or Airplay. My setup is controlled via homeassistant and handles playlist generation via custom bash scripts + syncing to Navidrome. Though, it may require some fiddling compared to other out-of-the-box but lesser flexible solutions, imho.

[–] TCB13 1 points 1 year ago (1 children)

Hmm.. what's your experience with running Mopidy standlone? What client are you using, does it perform better than Jellyfin?

[–] [email protected] 2 points 1 year ago (1 children)

Relatively straightforward; it works well as essentially fancier mpd, and performs quite well. :) It is audio-only unlike Jellyfin; if you like to have your media all in one place, then Jellyfin might be a better option.

As for the client, nowadays I do most of the handling through the MPD protocol (I like having native clients on both desktop and mobile devices for the same audio setup), but before I developed that setup, I had good experience with the Iris web client.

[–] TCB13 1 points 1 year ago* (last edited 1 year ago)

I'm not into having "all my media in one place", for me it is more about having my NAS playing music in a surround system in a way that I don't need to have a computer / my phone actually doing the stream. I want to launching an app / webui on the phone to control the music but the NAS is actually playing it. I don't like things draining my phone's battery not having 200GB of music on a phone. On my laptop and desktop I simply sync the music with Syncthing and use Dopamine to play it. Thank you.