Merge pull request #4976 from BaronGreenback/dlnaPortFix

Fixed DLNA Server on RC2
pull/4988/head
Bond-009 4 years ago committed by GitHub
commit a554423163
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -315,7 +315,7 @@ namespace Emby.Dlna.Main
var uri = new UriBuilder(_appHost.GetSmartApiUrl(address.Address) + descriptorUri); var uri = new UriBuilder(_appHost.GetSmartApiUrl(address.Address) + descriptorUri);
// DLNA will only work over http, so we must reset to http:// : {port} // DLNA will only work over http, so we must reset to http:// : {port}
uri.Scheme = "http://"; uri.Scheme = "http://";
uri.Port = _netConfig.PublicPort; uri.Port = _netConfig.HttpServerPortNumber;
var device = new SsdpRootDevice var device = new SsdpRootDevice
{ {

Loading…
Cancel
Save