From bfc47f4567f8d9d46bc2582acd12b2a966102e78 Mon Sep 17 00:00:00 2001 From: rlauu <46294892+rlauu@users.noreply.github.com> Date: Sun, 31 Mar 2024 07:47:39 +0200 Subject: [PATCH] Update DetectIntrosCreditsTask.cs reset progress --- .../ScheduledTasks/DetectIntrosCreditsTask.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/DetectIntrosCreditsTask.cs b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/DetectIntrosCreditsTask.cs index 913d87c..69c6632 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/DetectIntrosCreditsTask.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/DetectIntrosCreditsTask.cs @@ -81,6 +81,9 @@ public class DetectIntrosCreditsTask : IScheduledTask baseIntroAnalyzer.AnalyzeItems(progress, cancellationToken); + // reset progress + progress.Report(0); + var baseCreditAnalyzer = new BaseItemAnalyzerTask( AnalysisMode.Credits, _loggerFactory.CreateLogger(),