Browse Source

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

Co-authored-by: Bond-009 <bond.009@outlook.com>
JPVenson 2 years ago
parent
commit
0f60ec3013

+ 1 - 1
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);
                 _logger.LogDebug("Update Boxset {CollectionName}", collection.Name);
                 collection.LinkedChildren = collection.LinkedChildren.Except(itemsToRemove).ToArray();
                 collection.LinkedChildren = collection.LinkedChildren.Except(itemsToRemove).ToArray();