Update BaseItemAnalyzerTask.cs
This commit is contained in:
parent
7800b48193
commit
3acf041087
@ -114,13 +114,13 @@ public class BaseItemAnalyzerTask
|
|||||||
var first = episodes[0];
|
var first = episodes[0];
|
||||||
var requiredModeCount = requiredModes.Count;
|
var requiredModeCount = requiredModes.Count;
|
||||||
|
|
||||||
if (requiredModeCount == 0)
|
if (requiredModeCount == 0)
|
||||||
{
|
{
|
||||||
_logger.LogDebug(
|
_logger.LogDebug(
|
||||||
"All episodes in {Name} season {Season} have already been analyzed",
|
"All episodes in {Name} season {Season} have already been analyzed",
|
||||||
first.SeriesName,
|
first.SeriesName,
|
||||||
first.SeasonNumber);
|
first.SeasonNumber);
|
||||||
|
|
||||||
Interlocked.Add(ref totalProcessed, (episodeCount * modeCount)); // Update totalProcessed directly
|
Interlocked.Add(ref totalProcessed, (episodeCount * modeCount)); // Update totalProcessed directly
|
||||||
progress.Report((totalProcessed * 100) / totalQueued);
|
progress.Report((totalProcessed * 100) / totalQueued);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user