Browse Source

Hide msg if dlna disabled

BaronGreenback 4 years ago
parent
commit
2f843b3b48
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Emby.Dlna/Main/DlnaEntryPoint.cs

+ 2 - 1
Emby.Dlna/Main/DlnaEntryPoint.cs

@@ -128,7 +128,8 @@ namespace Emby.Dlna.Main
 
             _netConfig = config.GetConfiguration<NetworkConfiguration>("network");
             _disabled = appHost.ListenWithHttps && _netConfig.RequireHttps;
-            if (_disabled)
+
+            if (_disabled && _config.GetDlnaConfiguration().EnableServer)
             {
                 _logger.LogError("The DLNA specification does not support HTTPS.");
             }