mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
#712 - Support grouping multiple versions of a movie
This commit is contained in:
@@ -690,6 +690,11 @@ namespace MediaBrowser.Server.Implementations.Session
|
||||
}
|
||||
}
|
||||
|
||||
if (session.UserId.HasValue)
|
||||
{
|
||||
command.ControllingUserId = session.UserId.Value.ToString("N");
|
||||
}
|
||||
|
||||
return session.SessionController.SendPlayCommand(command, cancellationToken);
|
||||
}
|
||||
|
||||
@@ -723,6 +728,11 @@ namespace MediaBrowser.Server.Implementations.Session
|
||||
throw new ArgumentException(string.Format("Session {0} is unable to seek.", session.Id));
|
||||
}
|
||||
|
||||
if (session.UserId.HasValue)
|
||||
{
|
||||
command.ControllingUserId = session.UserId.Value.ToString("N");
|
||||
}
|
||||
|
||||
return session.SessionController.SendPlaystateCommand(command, cancellationToken);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user