Преглед изворни кода

Don't ignore parentId for playlists

Bond_009 пре 2 година
родитељ
комит
f04cfd6ef4
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      Jellyfin.Api/Controllers/ItemsController.cs

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

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