diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-30 23:24:55 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-30 23:24:55 -0400 |
| commit | c741082dfd709e20e9b762028a684d39755ecd28 (patch) | |
| tree | 9697b42a178c3f0710f1f7bc4fdaffcad9b53f32 /MediaBrowser.Server.Implementations/Session/SessionManager.cs | |
| parent | 98c0b28d14d68cc2989fb60fb09dde0501a8d928 (diff) | |
3.0.5233.40306
Diffstat (limited to 'MediaBrowser.Server.Implementations/Session/SessionManager.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Session/SessionManager.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/MediaBrowser.Server.Implementations/Session/SessionManager.cs b/MediaBrowser.Server.Implementations/Session/SessionManager.cs index b0e31a50c..5a800eae7 100644 --- a/MediaBrowser.Server.Implementations/Session/SessionManager.cs +++ b/MediaBrowser.Server.Implementations/Session/SessionManager.cs @@ -855,7 +855,6 @@ namespace MediaBrowser.Server.Implementations.Session Name = GeneralCommandType.DisplayContent.ToString() }; - generalCommand.Arguments["Context"] = command.Context; generalCommand.Arguments["ItemId"] = command.ItemId; generalCommand.Arguments["ItemName"] = command.ItemName; generalCommand.Arguments["ItemType"] = command.ItemType; @@ -1139,7 +1138,6 @@ namespace MediaBrowser.Server.Implementations.Session SupportsRemoteControl = session.SupportsRemoteControl, IsPaused = session.PlayState.IsPaused, IsMuted = session.PlayState.IsMuted, - NowViewingContext = session.NowViewingContext, NowViewingItem = session.NowViewingItem, ApplicationVersion = session.ApplicationVersion, CanSeek = session.PlayState.CanSeek, @@ -1345,21 +1343,20 @@ namespace MediaBrowser.Server.Implementations.Session return _dtoService.GetDtoId(item); } - public void ReportNowViewingItem(string sessionId, string itemId, string context) + public void ReportNowViewingItem(string sessionId, string itemId) { var item = _libraryManager.GetItemById(new Guid(itemId)); var info = GetItemInfo(item, item.RunTimeTicks); - ReportNowViewingItem(sessionId, info, context); + ReportNowViewingItem(sessionId, info); } - public void ReportNowViewingItem(string sessionId, BaseItemInfo item, string context) + public void ReportNowViewingItem(string sessionId, BaseItemInfo item) { var session = GetSession(sessionId); session.NowViewingItem = item; - session.NowViewingContext = context; } } }
\ No newline at end of file |
