Update the queue when it changed

This commit is contained in:
TwistedUmbrellaX 2024-04-25 23:11:57 -04:00
parent 28673a807a
commit d53e443925

View File

@ -102,8 +102,9 @@ public class BaseItemAnalyzerTask
if (totalRemaining >= queue.Count * modeCount)
{
queue = new(Plugin.Instance!.QueuedMediaItems);
totalQueued = 0;
foreach (var kvp in Plugin.Instance!.QueuedMediaItems)
foreach (var kvp in queue)
{
totalQueued += kvp.Value.Count;
}