mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-21 03:22:50 +00:00
Fix trickplay images using wrong item on alternate versions
This commit is contained in:
parent
4c5a3fbff3
commit
ef7f138a4e
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