BaronGreenback пре 4 година
родитељ
комит
2f843b3b48
1 измењених фајлова са 2 додато и 1 уклоњено
  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.");
             }