aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-06-27 16:22:08 +0200
committerGitHub <noreply@github.com>2023-06-27 16:22:08 +0200
commit1e38bc80de77a8e56d999be33fd38a2e1b6a9560 (patch)
tree42efd8c9367a0ee719c1d5a54d8a970db3a27cf6
parent301e7ee840504d7f9d7760c849ffc5876915ebcf (diff)
parentf04cfd6ef480f0a31ecc0ad995779ba24408c5f7 (diff)
Merge pull request #9909 from Bond-009/playlist
-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;
}