Skip to content

Commit

Permalink
Merge pull request #10406 from thornbill/fix-playlists
Browse files Browse the repository at this point in the history
Fix playlist listings
  • Loading branch information
cvium committed Oct 27, 2023
2 parents be5e10a + d3f4dcf commit ce8eddd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jellyfin.Api/Controllers/ItemsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ public class ItemsController : BaseJellyfinApiController
.AddAdditionalDtoOptions(enableImages, enableUserData, imageTypeLimit, enableImageTypes);

if (includeItemTypes.Length == 1
&& includeItemTypes[0] == BaseItemKind.BoxSet)
&& (includeItemTypes[0] == BaseItemKind.Playlist
|| includeItemTypes[0] == BaseItemKind.BoxSet))
{
parentId = null;
}
Expand Down

0 comments on commit ce8eddd

Please sign in to comment.