I used minidnla successfully a number of years back. It's now called Readymedia, and there are a few docker images.
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I was under the impression that minidlna is exclusively a DLNA server and not a renderer. Is that wrong?
Yes, you are correct. Mea culpa for the brain fart.
Mopidy has a dlna plugin: https://mopidy.com/ext/dleyna/
I use this container for mopidy: https://hub.docker.com/r/ivdata/mopidy
That might work. I'll have to check it out. Thanks
VLC can play from DLNA, so perhaps there's a way you can use that?
Do any of you know another solution to stream audio from my phone to my server
I use snapcast throughout my house and devices, but there's no snap_server_ for Android.
I've been meaning to try roc, for which there is an Android client that will both play and serve.
Sonobus also claims to be many:many; I haven't tried it either and it doesn't look particularly active.
I don't use UPnP or DLNA because of the security issues, so I can't offer a suggestion about that. I thought DLNA was a pull oriented protocol - like, to send music from your phone you'd have to select and play on your computer with a DLNA client. Can you push media with DLNA?
like, to send music from your phone you'd have to select and play on your computer with a DLNA client. Can you push media with DLNA?
This isn't how it works.
I'm not very well informed on the specifics of the DLNA standard or how it is differentiated from UPnP so take what I say here with a grain of salt. My understanding is that there are 3 device types in DLNA
- A server which provides media
- A client which can pull media from the server
- A renderer which can play back media from the client
I'm not sure if the server is necessary stricly speaking or if my device is using the underlying UPnP stuff but I can use Macast, which is a DLNA renderer, on my desktop computer and then select it as a playback device in Symfonium on my android phone where it shows up as a UPnP device.
I'm using macast as a media renderer, for video and audio. don't know if there's a docker container for it.
I've used macast in the past on my desktop where it worked perfectly. Unfortunately I could not find a fitting docker image for it. There is this one but it has literally no information and only 70 image pulls. Then there is a dockerfile in the Macast github repo but considering I don't see a docker image mentioned anywhere in the documentation so I guess that one is only for building the application. I believe Macast is a GUI application anyway so I'm not sure how good it would work on a headless server.
it's using mpv under the hood, so I guess it should be able to play audio headless. I'm using allcast to cast to it and control it.