Don't ignore parentId for playlists

pull/9909/head
Bond_009 1 year ago
parent c078391aec
commit f04cfd6ef4

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

Loading…
Cancel
Save