Update the queue when it changed
This commit is contained in:
parent
28673a807a
commit
d53e443925
@ -102,8 +102,9 @@ public class BaseItemAnalyzerTask
|
|||||||
|
|
||||||
if (totalRemaining >= queue.Count * modeCount)
|
if (totalRemaining >= queue.Count * modeCount)
|
||||||
{
|
{
|
||||||
|
queue = new(Plugin.Instance!.QueuedMediaItems);
|
||||||
totalQueued = 0;
|
totalQueued = 0;
|
||||||
foreach (var kvp in Plugin.Instance!.QueuedMediaItems)
|
foreach (var kvp in queue)
|
||||||
{
|
{
|
||||||
totalQueued += kvp.Value.Count;
|
totalQueued += kvp.Value.Count;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user