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()
|
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)
|
||||||
|
|
Loading…
Reference in New Issue