Only shared should split progress bar
This commit is contained in:
parent
de60fd236f
commit
75688772b1
@ -300,8 +300,8 @@ public class Entrypoint : IServerEntryPoint
|
||||
}
|
||||
}
|
||||
|
||||
Plugin.Instance!.AnalyzerTaskIsRunning = false;
|
||||
Plugin.Instance!.Configuration.PathRestrictions.Clear();
|
||||
Plugin.Instance!.AnalyzerTaskIsRunning = false;
|
||||
_autoTaskCompletEvent.Set();
|
||||
|
||||
// New item detected, start timer again
|
||||
|
@ -146,6 +146,8 @@ public class BaseItemAnalyzerTask
|
||||
EdlManager.UpdateEDLFiles(episodes);
|
||||
}
|
||||
|
||||
if (_logger is ILogger<DetectIntrosCreditsTask>)
|
||||
{
|
||||
if (_analysisMode == AnalysisMode.Introduction)
|
||||
{
|
||||
progress.Report(((totalProcessed * 100) / totalQueued) / 2);
|
||||
@ -154,6 +156,11 @@ public class BaseItemAnalyzerTask
|
||||
{
|
||||
progress.Report((((totalProcessed * 100) / totalQueued) / 2) + 50);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
progress.Report((totalProcessed * 100) / totalQueued);
|
||||
}
|
||||
});
|
||||
|
||||
if (
|
||||
|
Loading…
x
Reference in New Issue
Block a user