Karbowiak 27 Posted December 21, 2015 Posted December 21, 2015 Instead of arbitrarily picking an interface, give us the ability to pick it ourselves. Currently Emby picks the wrong interface, and announces DLNA onto the internet, instead of actually picking the RIGHT network to announce to.. 2015-12-21 22:01:21.0078 Debug SsdpHandler: Registered mount 3bbf94a5-5201-6089-5d5e-d6fe4a10f804 at http://87.73.xxx.xxx:8096/dlna/3bbf94a5520160895d5ed6fe4a10f804/description.xml So, yeah - how about letting us decide? :\
Karbowiak 27 Posted December 21, 2015 Author Posted December 21, 2015 Could this possibly be the culprit? ^^https://github.com/MediaBrowser/Emby/blob/master/MediaBrowser.Common.Implementations/Networking/BaseNetworkManager.cs#L97
Luke 42077 Posted December 21, 2015 Posted December 21, 2015 culprit of what? we don't arbitrarily pick anything, we bind on all interfaces, not some randomly chosen one.
Karbowiak 27 Posted December 21, 2015 Author Posted December 21, 2015 (edited) culprit of what? we don't arbitrarily pick anything, we bind on all interfaces, not some randomly chosen one. That's it tho @@Luke, the DLNA server ain't listening on all interfaces, it binds itself to - in my case - the public facing interface, and completely ignores the internal one. i have eth0: 192.168.1.2 (home network) and eth1: 87.73.xxx.xxx (public facing) Plus i can't tell it to not throw the http server up publicly either, basically i want all of Emby to listen on whatever IP i tell it to listen on - be it 192.168.1.2 or 127.0.0.1, and i can't possibly be alone in that :\ edit:// Forgot the culprit part. But isn't that the culprit of Emby not knowing to listen on the internal network with DLNA? Only place i could find that would fit the criteria of it :\ Edited December 21, 2015 by Karbowiak
Karbowiak 27 Posted December 21, 2015 Author Posted December 21, 2015 incase anyone is in the same predicament, a fix is:1. get smcroute https://github.com/troglobit/smcroute2. create /etc/smcroute.conf with content mgroup from eth0 group 239.255.255.250 mroute from eth0 group 239.255.255.250 eth1 mgroup from eth1 group 239.255.255.250 mroute from eth1 group 239.255.255.250 eth0 where eth0 and eth1 are your network interfaces3. get supervisor with the following config (or systemd with some other config i guess) [program:smcroute] command=/usr/local/sbin/smcroute -d -n -D -f /etc/smcroute.conf autostart=true autorestart=true user=root group=root 4. update supervisor and make sure it starts smcroute 5. enjoy dlna actually working
rhodges 49 Posted December 22, 2015 Posted December 22, 2015 I would like to see this too for Windows. I have a few IP addresses bound to my server for various reasons and I'd like to see Emby only bind on one.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now