The Free Software Media System - Server Backend & API
fixed build
BaronGreenbackcaa8e7cdf37a
diff --git a/Emby.Dlna/Main/DlnaEntryPoint.cs b/Emby.Dlna/Main/DlnaEntryPoint.csindex ec87160293..9a2d524d16 100644--- a/Emby.Dlna/Main/DlnaEntryPoint.cs+++ b/Emby.Dlna/Main/DlnaEntryPoint.cs@@ -316,7 +316,7 @@ namespace Emby.Dlna.Main_logger.LogInformation("Registering publisher for {0} on {1}", fullService, address);var uri = new UriBuilder(_appHost.GetSmartApiUrl(address.Address) + descriptorUri);- if (_appHost.PublishedServerUrl == null)+ if (!string.IsNullOrEmpty(_appHost.PublishedServerUrl)){// DLNA will only work over http, so we must reset to http:// : {port}.uri.Scheme = "http";diff --git a/MediaBrowser.Controller/IServerApplicationHost.cs b/MediaBrowser.Controller/IServerApplicationHost.csindex 6378625e87..20bfa697e5 100644--- a/MediaBrowser.Controller/IServerApplicationHost.cs+++ b/MediaBrowser.Controller/IServerApplicationHost.cs@@ -55,7 +55,7 @@ namespace MediaBrowser.Controller/// <summary>/// Gets the configured published server url./// </summary>- Uri PublishedServerUrl { get; }+ string PublishedServerUrl { get; }/// <summary>/// Gets the system info.