Skip to content

The Free Software Media System - Server Backend & API

Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs

JPVenson0f60ec3013a4
diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs
index 989c37242e..f8b044d46f 100644
--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs
+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs
@@ -88,7 +88,7 @@ public class CleanupCollectionPathsTask : IScheduledTask
}
}
- if (itemsToRemove.Any())
+ if (itemsToRemove.Count != 0)
{
_logger.LogDebug("Update Boxset {CollectionName}", collection.Name);
collection.LinkedChildren = collection.LinkedChildren.Except(itemsToRemove).ToArray();