added more web socket logging
This commit is contained in:
parent
bdcc4f4a6c
commit
9abafd83eb
|
@ -72,6 +72,10 @@ namespace MediaBrowser.Server.Implementations.Session
|
||||||
|
|
||||||
session.WebSockets = sockets;
|
session.WebSockets = sockets;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_logger.Warn("Unable to determine session based on identity message: {0}", message.Data);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (string.Equals(message.MessageType, "Context", StringComparison.OrdinalIgnoreCase))
|
else if (string.Equals(message.MessageType, "Context", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
|
@ -86,6 +90,10 @@ namespace MediaBrowser.Server.Implementations.Session
|
||||||
session.NowViewingItemName = vals[2];
|
session.NowViewingItemName = vals[2];
|
||||||
session.NowViewingContext = vals.Length > 3 ? vals[3] : null;
|
session.NowViewingContext = vals.Length > 3 ? vals[3] : null;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_logger.Warn("Unable to determine session based on context message: {0}", message.Data);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (string.Equals(message.MessageType, "PlaybackStart", StringComparison.OrdinalIgnoreCase))
|
else if (string.Equals(message.MessageType, "PlaybackStart", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user