aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortheguymadmax <171496228+theguymadmax@users.noreply.github.com>2025-12-28 07:22:23 -0500
committerBond_009 <bond.009@outlook.com>2025-12-28 07:22:23 -0500
commitf867ce38424e9f461ef9ae571e4c4b863be586d2 (patch)
treed910342c7a5bc61aa8b1f6376a6b9ad767630f74
parent2a464c316de16242012e2e45a13d1c7a5f709186 (diff)
Backport pull request #15757 from jellyfin/release-10.11.z
Fix trickplay images using wrong item on alternate versions Original-merge: 481ee03f35d0c5ab625e66f76405edc11a5afb2e Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Bond_009 <bond.009@outlook.com>
-rw-r--r--Jellyfin.Api/Controllers/TrickplayController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/TrickplayController.cs b/Jellyfin.Api/Controllers/TrickplayController.cs
index 2cf66144c..c9f8b3676 100644
--- a/Jellyfin.Api/Controllers/TrickplayController.cs
+++ b/Jellyfin.Api/Controllers/TrickplayController.cs
@@ -86,7 +86,7 @@ public class TrickplayController : BaseJellyfinApiController
[FromRoute, Required] int index,
[FromQuery] Guid? mediaSourceId)
{
- var item = _libraryManager.GetItemById<BaseItem>(itemId, User.GetUserId());
+ var item = _libraryManager.GetItemById<BaseItem>(mediaSourceId ?? itemId, User.GetUserId());
if (item is null)
{
return NotFound();