aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2023-10-11 11:37:28 -0400
committerPatrick Barron <barronpm@gmail.com>2023-10-11 11:37:28 -0400
commit2e1b8ea62d92263d087cbc8996886cdecc4b1705 (patch)
tree0d05c5f4f5ffc021ad84bc2907009ea59b13503a
parent010cf2340aca8f21d90fd9c8c8653b9b8d7208b2 (diff)
Remove DlnaEntryPoint.Enabled
-rw-r--r--Emby.Dlna/Main/DlnaEntryPoint.cs7
1 files changed, 0 insertions, 7 deletions
diff --git a/Emby.Dlna/Main/DlnaEntryPoint.cs b/Emby.Dlna/Main/DlnaEntryPoint.cs
index ea996a442..06c39ecca 100644
--- a/Emby.Dlna/Main/DlnaEntryPoint.cs
+++ b/Emby.Dlna/Main/DlnaEntryPoint.cs
@@ -103,11 +103,6 @@ namespace Emby.Dlna.Main
}
}
- /// <summary>
- /// Gets a value indicating whether the dlna server is enabled.
- /// </summary>
- public static bool Enabled { get; private set; }
-
public async Task RunAsync()
{
await ((DlnaManager)_dlnaManager).InitProfilesAsync().ConfigureAwait(false);
@@ -134,8 +129,6 @@ namespace Emby.Dlna.Main
private void ReloadComponents()
{
var options = _config.GetDlnaConfiguration();
- Enabled = options.EnableServer;
-
StartSsdpHandler();
if (options.EnableServer)