aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/ItemsController.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2023-06-20 18:06:30 +0200
committerBond_009 <bond.009@outlook.com>2023-06-20 18:06:30 +0200
commitf04cfd6ef480f0a31ecc0ad995779ba24408c5f7 (patch)
treecb0a2aadc467a6e4c8be354efefc238356988e8f /Jellyfin.Api/Controllers/ItemsController.cs
parentc078391aece1b341343d743d7ecfb002ed177f6c (diff)
Don't ignore parentId for playlists
Diffstat (limited to 'Jellyfin.Api/Controllers/ItemsController.cs')
-rw-r--r--Jellyfin.Api/Controllers/ItemsController.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/ItemsController.cs b/Jellyfin.Api/Controllers/ItemsController.cs
index 7650b861f..80128536d 100644
--- a/Jellyfin.Api/Controllers/ItemsController.cs
+++ b/Jellyfin.Api/Controllers/ItemsController.cs
@@ -256,8 +256,7 @@ public class ItemsController : BaseJellyfinApiController
.AddAdditionalDtoOptions(enableImages, enableUserData, imageTypeLimit, enableImageTypes);
if (includeItemTypes.Length == 1
- && (includeItemTypes[0] == BaseItemKind.Playlist
- || includeItemTypes[0] == BaseItemKind.BoxSet))
+ && includeItemTypes[0] == BaseItemKind.BoxSet)
{
parentId = null;
}