mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-31 14:33:54 -04:00
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
0ed4fd5759
commit
8b6fca59a1
@ -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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user