소스 검색

Revert "Don't ignore parentId for playlists"

This reverts commit 98c6c34fbbcdb556873bdcdb577fbc55a296b650.
Bill Thornton 1 년 전
부모
커밋
d3f4dcf6f6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Jellyfin.Api/Controllers/ItemsController.cs

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

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