diff options
| author | JPVenson <JPVenson@users.noreply.github.com> | 2023-05-02 14:26:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-02 14:26:55 +0200 |
| commit | 8b6fca59a1129c161e0b2ca44813921df20771b5 (patch) | |
| tree | 6686c9793b20f3fc62dca2fdec593c087512215a /Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs | |
| parent | 0ed4fd5759156dd12b0de749d5c452972f8d9fb8 (diff) | |
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs')
| -rw-r--r-- | Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs index 83e07478d..989c37242 100644 --- a/Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs +++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs @@ -79,7 +79,7 @@ public class CleanupCollectionPathsTask : IScheduledTask var collection = collections[index]; _logger.LogDebug("Check Boxset {CollectionName}", collection.Name); var itemsToRemove = new List<LinkedChild>(); - foreach (var collectionLinkedChild in collection.LinkedChildren.ToArray()) + foreach (var collectionLinkedChild in collection.LinkedChildren) { if (!File.Exists(collectionLinkedChild.Path)) { |
