mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
Backport pull request #15757 from jellyfin/release-10.11.z
Fix trickplay images using wrong item on alternate versions
Original-merge: 481ee03f35
Merged-by: Bond-009 <bond.009@outlook.com>
Backported-by: Bond_009 <bond.009@outlook.com>
This commit is contained in:
parent
2a464c316d
commit
f867ce3842
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue