Remove refs to AnalyzerTaskIsRunning
This commit is contained in:
parent
34c4e6eaab
commit
f36a2d9bec
@ -135,7 +135,7 @@ public class Entrypoint : IServerEntryPoint
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Plugin.Instance!.AnalyzerTaskIsRunning)
|
if (Entrypoint.AutomaticTaskState == TaskState.Running)
|
||||||
{
|
{
|
||||||
_queueManager.QueueEpisode(episode);
|
_queueManager.QueueEpisode(episode);
|
||||||
}
|
}
|
||||||
@ -170,7 +170,7 @@ public class Entrypoint : IServerEntryPoint
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Plugin.Instance!.AnalyzerTaskIsRunning)
|
if (Entrypoint.AutomaticTaskState == TaskState.Running)
|
||||||
{
|
{
|
||||||
_queueManager.QueueEpisode(episode);
|
_queueManager.QueueEpisode(episode);
|
||||||
}
|
}
|
||||||
@ -206,12 +206,6 @@ public class Entrypoint : IServerEntryPoint
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Plugin.Instance!.AnalyzerTaskIsRunning && AutomaticTaskState == TaskState.Running)
|
|
||||||
{
|
|
||||||
_logger.LogInformation("{0} Automatic Task will be superseded by library scan.", AutomaticTaskState);
|
|
||||||
CancelAutomaticTask();
|
|
||||||
}
|
|
||||||
|
|
||||||
StartTimer();
|
StartTimer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user