Remove DlnaEntryPoint.Enabled

This commit is contained in:
Patrick Barron 2023-10-11 11:37:28 -04:00
parent 010cf2340a
commit 2e1b8ea62d
1 changed files with 0 additions and 7 deletions

View File

@ -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() public async Task RunAsync()
{ {
await ((DlnaManager)_dlnaManager).InitProfilesAsync().ConfigureAwait(false); await ((DlnaManager)_dlnaManager).InitProfilesAsync().ConfigureAwait(false);
@ -134,8 +129,6 @@ namespace Emby.Dlna.Main
private void ReloadComponents() private void ReloadComponents()
{ {
var options = _config.GetDlnaConfiguration(); var options = _config.GetDlnaConfiguration();
Enabled = options.EnableServer;
StartSsdpHandler(); StartSsdpHandler();
if (options.EnableServer) if (options.EnableServer)