aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/VideosController.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2026-06-05 18:28:55 +0200
committerGitHub <noreply@github.com>2026-06-05 18:28:55 +0200
commitf4db44ffb3924fa597a01baf53a3df16cd073ea2 (patch)
tree809301159fe345f30fbdd4ec4e454f4734e8a36a /Jellyfin.Api/Controllers/VideosController.cs
parentb639166c0aa0223f3199aed474d78c40bb46c0ed (diff)
parent1b80da0c3d4014b5e65815f4e71b20d6714dd029 (diff)
Merge pull request #17019 from Shadowghost/enforce-parental
Enforce parental filtering on additional endpoints
Diffstat (limited to 'Jellyfin.Api/Controllers/VideosController.cs')
-rw-r--r--Jellyfin.Api/Controllers/VideosController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/VideosController.cs b/Jellyfin.Api/Controllers/VideosController.cs
index ed6d3f5bde..29a92cdb90 100644
--- a/Jellyfin.Api/Controllers/VideosController.cs
+++ b/Jellyfin.Api/Controllers/VideosController.cs
@@ -116,7 +116,7 @@ public class VideosController : BaseJellyfinApiController
BaseItemDto[] items;
if (item is Video video)
{
- items = video.GetAdditionalParts()
+ items = video.GetAdditionalParts(user)
.Select(i => _dtoService.GetBaseItemDto(i, dtoOptions, user, video))
.ToArray();
}