浏览代码

Don't ignore parentId for playlists

Bond_009 2 年之前
父节点
当前提交
98c6c34fbb
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Jellyfin.Api/Controllers/ItemsController.cs

+ 1 - 2
Jellyfin.Api/Controllers/ItemsController.cs

@@ -244,8 +244,7 @@ namespace Jellyfin.Api.Controllers
                 .AddAdditionalDtoOptions(enableImages, enableUserData, imageTypeLimit, enableImageTypes);
 
             if (includeItemTypes.Length == 1
-                && (includeItemTypes[0] == BaseItemKind.Playlist
-                    || includeItemTypes[0] == BaseItemKind.BoxSet))
+                && includeItemTypes[0] == BaseItemKind.BoxSet)
             {
                 parentId = null;
             }