aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-12 21:55:22 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-12 21:55:22 -0400
commit0ec38a9d40a015af87b19cf345e0dfb1e433b45d (patch)
treea361772ae367b81b4c381e63c2631a95439bee6a /MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs
parentaa64e1df78d08bd2321957495f044b41562e675d (diff)
adjust audio direct play checks
Diffstat (limited to 'MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs b/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs
index 7cbff9768..dda4c2b90 100644
--- a/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs
+++ b/MediaBrowser.Server.Implementations/Session/SessionWebSocketListener.cs
@@ -103,7 +103,8 @@ namespace MediaBrowser.Server.Implementations.Session
{
return Task.FromResult<SessionInfo>(null);
}
- return _sessionManager.GetSessionByAuthenticationToken(token, remoteEndpoint);
+ var deviceId = queryString["deviceId"];
+ return _sessionManager.GetSessionByAuthenticationToken(token, deviceId, remoteEndpoint);
}
public void Dispose()