diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/BaseItemAnalyzerTask.cs b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/BaseItemAnalyzerTask.cs index 3ab7816..f80f0a4 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/BaseItemAnalyzerTask.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/BaseItemAnalyzerTask.cs @@ -146,7 +146,14 @@ public class BaseItemAnalyzerTask EdlManager.UpdateEDLFiles(episodes); } - progress.Report((totalProcessed * 100) / totalQueued); + if (_analysisMode == AnalysisMode.Introduction) + { + progress.Report(((totalProcessed * 100) / totalQueued) / 2); + } + else + { + progress.Report((((totalProcessed * 100) / totalQueued) / 2) + 50); + } }); if ( diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/DetectIntrosCreditsTask.cs b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/DetectIntrosCreditsTask.cs index 69c6632..913d87c 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/DetectIntrosCreditsTask.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/DetectIntrosCreditsTask.cs @@ -81,9 +81,6 @@ public class DetectIntrosCreditsTask : IScheduledTask baseIntroAnalyzer.AnalyzeItems(progress, cancellationToken); - // reset progress - progress.Report(0); - var baseCreditAnalyzer = new BaseItemAnalyzerTask( AnalysisMode.Credits, _loggerFactory.CreateLogger(),