Attempt to verify queue when finishing

This commit is contained in:
TwistedUmbrellaX 2024-04-22 11:00:19 -04:00
parent 26db24d187
commit c106811e8e

View File

@ -98,6 +98,13 @@ public class BaseItemAnalyzerTask
{
var writeEdl = false;
var totalRemaining = (Plugin.Instance!.TotalQueued * modeCount) - totalProcessed;
if (totalRemaining >= queue.Count * modeCount)
{
// TODO: Handle items being added dynamically
}
// Since the first run of the task can run for multiple hours, ensure that none
// of the current media items were deleted from Jellyfin since the task was started.
var (episodes, requiredModes) = queueManager.VerifyQueue(