mirror of https://github.com/jellyfin/jellyfin.git
Remove DlnaEntryPoint.Enabled
This commit is contained in:
parent
010cf2340a
commit
2e1b8ea62d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue