Browse Source

Merge pull request #9909 from Bond-009/playlist

Bond-009 1 year ago
parent
commit
1e38bc80de
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Jellyfin.Api/Controllers/ItemsController.cs

+ 1 - 2
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;
         }