diff options
| author | theguymadmax <theguymadmax@proton.me> | 2026-07-15 17:57:55 -0400 |
|---|---|---|
| committer | theguymadmax <theguymadmax@proton.me> | 2026-07-16 18:15:54 -0400 |
| commit | fa4626c08093f34b64e028bb21becb3050ac4a3b (patch) | |
| tree | 7740654a55e5cbf0ad08e13c89a120d7fc4f14b5 | |
| parent | f8771b52ec68e706126398e61399c50fdfd2a20f (diff) | |
Revert setting default BaseItemKind for CollectionType
| -rw-r--r-- | Jellyfin.Api/Controllers/ItemsController.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/ItemsController.cs b/Jellyfin.Api/Controllers/ItemsController.cs index f6a927a9ed..385795e9f7 100644 --- a/Jellyfin.Api/Controllers/ItemsController.cs +++ b/Jellyfin.Api/Controllers/ItemsController.cs @@ -316,7 +316,6 @@ public class ItemsController : BaseJellyfinApiController if (folder is IHasCollectionType hasCollectionType) { collectionType = hasCollectionType.CollectionType; - includeItemTypes = [.. includeItemTypes.Union(DtoExtensions.GetBaseItemKindsForCollectionType(collectionType))]; } if (collectionType == CollectionType.playlists) @@ -329,7 +328,6 @@ public class ItemsController : BaseJellyfinApiController includeItemTypes = collectionType switch { CollectionType.boxsets => [BaseItemKind.BoxSet], - null => [BaseItemKind.Movie, BaseItemKind.Series], _ => [] }; } |
