From c741082dfd709e20e9b762028a684d39755ecd28 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 30 Apr 2014 23:24:55 -0400 Subject: 3.0.5233.40306 --- MediaBrowser.Server.Implementations/Session/SessionManager.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'MediaBrowser.Server.Implementations/Session/SessionManager.cs') 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 -- cgit v1.2.3