diff options
| author | martin-77 <52350479+martin-77@users.noreply.github.com> | 2026-08-16 13:41:27 +0200 |
|---|---|---|
| committer | martin-77 <52350479+martin-77@users.noreply.github.com> | 2026-08-16 21:30:37 +0200 |
| commit | 7c148c3c7c0a023a07162a232f243f5a06d1ec86 (patch) | |
| tree | 3b48e7a788c948bec24db609edd996eee6e8f566 /Jellyfin.Server.Implementations | |
| parent | 4fe980f25b809bf339a9e72b857eb437f2bd250b (diff) | |
Fix large playlist persistence
Diffstat (limited to 'Jellyfin.Server.Implementations')
| -rw-r--r-- | Jellyfin.Server.Implementations/Item/ItemPersistenceService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Item/ItemPersistenceService.cs b/Jellyfin.Server.Implementations/Item/ItemPersistenceService.cs index 3585f85c61..efff3457a3 100644 --- a/Jellyfin.Server.Implementations/Item/ItemPersistenceService.cs +++ b/Jellyfin.Server.Implementations/Item/ItemPersistenceService.cs @@ -538,7 +538,7 @@ public class ItemPersistenceService : IItemPersistenceService var childIdsToCheck = resolvedChildren.Select(c => c.ChildId).Distinct().ToList(); var existingChildIds = childIdsToCheck.Count > 0 ? context.BaseItems - .Where(e => childIdsToCheck.Contains(e.Id)) + .WhereOneOrMany(childIdsToCheck, e => e.Id) .Select(e => e.Id) .ToHashSet() : []; |
