aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-01-08 21:06:14 +0100
committerJoshua M. Boniface <joshua@boniface.me>2021-01-23 15:37:25 -0500
commitab5ae345950d2551d40391141e8b7f5be66a725c (patch)
treeb13578633795522b6c88f43ee2b595c74a7e9b40
parent81a17b803d73d2e8f58c621d31f08c0b6b59a99c (diff)
Merge pull request #4976 from BaronGreenback/dlnaPortFix
Fixed DLNA Server on RC2 (cherry picked from commit a55442316381232f86b48351290fb96c03b530c1) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
-rw-r--r--Emby.Dlna/Main/DlnaEntryPoint.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Dlna/Main/DlnaEntryPoint.cs b/Emby.Dlna/Main/DlnaEntryPoint.cs
index 3f7b558f6..82490ec31 100644
--- a/Emby.Dlna/Main/DlnaEntryPoint.cs
+++ b/Emby.Dlna/Main/DlnaEntryPoint.cs
@@ -315,7 +315,7 @@ namespace Emby.Dlna.Main
var uri = new UriBuilder(_appHost.GetSmartApiUrl(address.Address) + descriptorUri);
// DLNA will only work over http, so we must reset to http:// : {port}
uri.Scheme = "http://";
- uri.Port = _netConfig.PublicPort;
+ uri.Port = _netConfig.HttpServerPortNumber;
var device = new SsdpRootDevice
{