aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Session/SessionManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Server.Implementations/Session/SessionManager.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Session/SessionManager.cs9
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