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

Co-authored-by: Bond-009 <bond.009@outlook.com>
pull/9231/head
JPVenson 2 years ago committed by GitHub
parent 8b6fca59a1
commit 0f60ec3013
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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();

Loading…
Cancel
Save