Fix trickplay generation for parts and alt versions

This commit is contained in:
Shadowghost
2026-03-06 00:16:04 +01:00
parent 744c5539d8
commit 268f23f39a
5 changed files with 14 additions and 4 deletions
@@ -3583,7 +3583,7 @@ public sealed class BaseItemRepository
.Where(e => e.OwnerId == null);
}
}
else if (filter.OwnerIds.Length == 0 && filter.ExtraTypes.Length == 0)
else if (filter.OwnerIds.Length == 0 && filter.ExtraTypes.Length == 0 && !filter.IncludeOwnedItems)
{
// Exclude alternate versions from general queries. Alternate versions have
// OwnerId set (pointing to their primary) but no ExtraType.