Don't ignore parentId for playlists

This commit is contained in:
Bond_009 2023-06-20 18:06:30 +02:00
parent c078391aec
commit f04cfd6ef4

View File

@ -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;
}