this post was submitted on 11 Sep 2023
14 points (93.8% liked)

Selfhosted

40676 readers
588 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 2 years ago
MODERATORS
14
Music Player container (self.selfhosted)
submitted 1 year ago* (last edited 1 year ago) by vgnmnky to c/selfhosted
 

I currently have a Raspberry Pi (with DAC) in my room attached to an amp and speakers, with Moode Audio installed on it, and it's perfect, been using it for many years. I can use plenty of MPD clients, or go through the web gui, and the sound outputs from the Pi itself.

I have similar hardware downstairs, except instead of a Pi, I have an x86 Dell thin client, with various Docker containers running on it. I'd like something that does the same job as Moode Audio (which is unfortunately ARM only), and outputs the sound directly from the host.

I've set up a Jellyfin container, and it's a great bit of software (will keep it for TV and movies), but doesn't allow me to output sound from the Dell PC itself. Is there a plugin or some other config that would let me do this? I'm aware that Airsonic would probably work (installed it, but not full tested it yet), but I much prefer the look and feel of Moode and Jellyfin, especially as it's not just for my use.

Does anyone have a similar set up?

Thanks

[edit: I can install Mopidy-Jellyfin, and cast to that. It works within the Jellyfin gui, and outputs from host. Would prefer something in a container (had to install directly on the Linux server) and I'm still looking, but I have something that works.

top 9 comments
sorted by: hot top controversial new old
[–] PanaX 5 points 1 year ago (1 children)

You can set up a jellyfin client on the Dell and control it from anything else. Jellyfin has clients for Linux Windows and Android. Once set up you can output anything from anywhere and control any of them from each other.

[–] vgnmnky 1 points 1 year ago* (last edited 1 year ago) (2 children)

Thanks. If I access the client from another device, it'll still just stream to that device though, won't it? The same as using the Jellyfin web gui. I tried the Jellyfin-vue client, and that's what it did.

I'm trying to keep everything in containers, but I could install something bare-metal (Linux), as long as I can access it on the home network (or have Jellyfin cast to it).

[–] pirat 2 points 1 year ago

When I cast from the Jellyfin app on my phone (or the webapp) (to either the Jellyfin app on my Android TV box) or to Kodi (through Jellycon/Jellyfin addon or DLNA), the content is playing independently of my phone. This means that if I disconnect from the device I'm casting to in the Jellyfin app, the content will keep playing. It's not streaming through my phone, but I can reconnect to regain remote control. I guess it's the same case for Linux clients. If not, you can use Kodi with Jellycon addon (and not the Jellyfin addon, since that will sync the library to Kodi, which is unnecessary here). You will need a screen to set it up, but once that's done + auto-launch Kodi at boot if you wish to, it will work headlessly if necessary as a client to cast to. Another reason to use Kodi is the very wide variety of formats it supports.

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

Cant test right now, but I think there is a cast button

[–] chandz05 3 points 1 year ago (1 children)

Jellyfin/Plex etc are all media server software, so they will all play audio and video from whichever device you're opening the apps from. Not sure what OS you have on your Dell, but you could enable a GUI and then remote into that to play stuff directly off it. That's a bit of a mission for something simple though! Take a look at this GitHub page. It always has something useful that I haven't heard of: https://github.com/awesome-selfhosted/awesome-selfhosted#media-streaming

[–] vgnmnky 1 points 1 year ago

Thanks, will give that a good read!

[–] [email protected] 2 points 1 year ago

I moved most of my apps into containers, the key is having your pulseaudio socket be accessible to the container and then editing /etc/pulse/client.conf in the container to point to that socket path.

Glx and all the major things work in containers, just a few bits of flakeyness you usually work through.

[–] thelittleblackbird 1 points 1 year ago

Give kodi a try ;)