Update DetectIntrosCreditsTask.cs

reset progress
This commit is contained in:
rlauu 2024-03-31 07:47:39 +02:00 committed by GitHub
parent 239e3a34fb
commit bfc47f4567
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,6 +81,9 @@ public class DetectIntrosCreditsTask : IScheduledTask
baseIntroAnalyzer.AnalyzeItems(progress, cancellationToken); baseIntroAnalyzer.AnalyzeItems(progress, cancellationToken);
// reset progress
progress.Report(0);
var baseCreditAnalyzer = new BaseItemAnalyzerTask( var baseCreditAnalyzer = new BaseItemAnalyzerTask(
AnalysisMode.Credits, AnalysisMode.Credits,
_loggerFactory.CreateLogger<DetectIntrosCreditsTask>(), _loggerFactory.CreateLogger<DetectIntrosCreditsTask>(),