aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs
diff options
context:
space:
mode:
authorEric Reed <ebr@mediabrowser3.com>2013-05-22 09:09:44 -0400
committerEric Reed <ebr@mediabrowser3.com>2013-05-22 09:09:44 -0400
commit07802a5b6d9abf7f67376e05c5bdaa96a0ac9337 (patch)
tree02b7c251fd5f3e0b2b1f3fb4995ca5c0a1ceda3b /MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs
parent212e696f7e76c37b8134acf87f7354baabcb63d4 (diff)
parent07b7ab9a0b64d51646addc9a2a75189c2981a854 (diff)
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs b/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs
index 19d177a94..44e833c7a 100644
--- a/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs
+++ b/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs
@@ -82,8 +82,9 @@ namespace MediaBrowser.Server.Implementations.Session
var vals = message.Data.Split('|');
session.NowViewingItemType = vals[0];
- session.NowViewingItemIdentifier = vals[1];
- session.NowViewingContext = vals.Length > 2 ? vals[2] : null;
+ session.NowViewingItemId = vals[1];
+ session.NowViewingItemName = vals[2];
+ session.NowViewingContext = vals.Length > 3 ? vals[3] : null;
}
}
else if (string.Equals(message.MessageType, "PlaybackStart", StringComparison.OrdinalIgnoreCase))