diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Entrypoint.cs b/ConfusedPolarBear.Plugin.IntroSkipper/Entrypoint.cs index 4dde913..35271c4 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Entrypoint.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Entrypoint.cs @@ -135,7 +135,7 @@ public class Entrypoint : IServerEntryPoint return; } - if (Plugin.Instance!.AnalyzerTaskIsRunning) + if (Entrypoint.AutomaticTaskState == TaskState.Running) { _queueManager.QueueEpisode(episode); } @@ -170,7 +170,7 @@ public class Entrypoint : IServerEntryPoint return; } - if (Plugin.Instance!.AnalyzerTaskIsRunning) + if (Entrypoint.AutomaticTaskState == TaskState.Running) { _queueManager.QueueEpisode(episode); } @@ -206,12 +206,6 @@ public class Entrypoint : IServerEntryPoint return; } - if (Plugin.Instance!.AnalyzerTaskIsRunning && AutomaticTaskState == TaskState.Running) - { - _logger.LogInformation("{0} Automatic Task will be superseded by library scan.", AutomaticTaskState); - CancelAutomaticTask(); - } - StartTimer(); }