Update BaseItemAnalyzerTask.cs
This commit is contained in:
parent
c106811e8e
commit
85ea6de26c
@ -102,7 +102,13 @@ public class BaseItemAnalyzerTask
|
|||||||
|
|
||||||
if (totalRemaining >= queue.Count * modeCount)
|
if (totalRemaining >= queue.Count * modeCount)
|
||||||
{
|
{
|
||||||
// TODO: Handle items being added dynamically
|
totalQueued = 0;
|
||||||
|
foreach (var kvp in Plugin.Instance!.QueuedMediaItems)
|
||||||
|
{
|
||||||
|
totalQueued += kvp.Value.Count;
|
||||||
|
}
|
||||||
|
|
||||||
|
totalQueued *= _analysisModes.Count;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Since the first run of the task can run for multiple hours, ensure that none
|
// Since the first run of the task can run for multiple hours, ensure that none
|
||||||
|
Loading…
x
Reference in New Issue
Block a user