diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2021-03-10 19:32:13 +0000 |
|---|---|---|
| committer | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2021-03-10 19:32:13 +0000 |
| commit | 2f843b3b4885aa6c0397c560bf11cada7d17c5aa (patch) | |
| tree | d5cd9a91737064d5ab1fac204bd1ff3315964519 | |
| parent | eafb8cf6525abe6a1031cd2b7a9d028a3c078053 (diff) | |
Hide msg if dlna disabled
| -rw-r--r-- | Emby.Dlna/Main/DlnaEntryPoint.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Dlna/Main/DlnaEntryPoint.cs b/Emby.Dlna/Main/DlnaEntryPoint.cs index 9a2d524d1..d3e9a41ec 100644 --- a/Emby.Dlna/Main/DlnaEntryPoint.cs +++ b/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."); } |
