diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/FingerprinterTask.cs b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/FingerprinterTask.cs index be88502..cd64efe 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/FingerprinterTask.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/FingerprinterTask.cs @@ -158,6 +158,9 @@ public class FingerprinterTask : IScheduledTask minimumIntroDuration = Plugin.Instance!.Configuration.MinimumIntroDuration; + // TODO: if the queue is modified while the task is running, the task will fail. + // clone the queue before running the task to prevent this. + // Analyze all episodes in the queue using the degrees of parallelism the user specified. Parallel.ForEach(queue, options, (season) => {