diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-03-16 00:23:58 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-03-16 00:23:58 -0400 |
| commit | b36aea4ff74052ae40c27db057f50f645659aa57 (patch) | |
| tree | f98c438363d961243fcf743c9a240a05429a2848 /MediaBrowser.Server.Implementations/Session/SessionManager.cs | |
| parent | 4e6d306d0021cda1e909da2647b803ea7d505d4a (diff) | |
#712 - Support grouping multiple versions of a movie
Diffstat (limited to 'MediaBrowser.Server.Implementations/Session/SessionManager.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Session/SessionManager.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/Session/SessionManager.cs b/MediaBrowser.Server.Implementations/Session/SessionManager.cs index 71d95b97b..cea70a8b4 100644 --- a/MediaBrowser.Server.Implementations/Session/SessionManager.cs +++ b/MediaBrowser.Server.Implementations/Session/SessionManager.cs @@ -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); } |
