Fix large playlist persistence

This commit is contained in:
martin-77
2026-08-16 13:41:27 +02:00
parent 4fe980f25b
commit 7c148c3c7c
2 changed files with 2 additions and 1 deletions
@@ -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()
: [];