1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update hdhr stream

This commit is contained in:
Luke Pulverenti 2016-04-12 13:37:58 -04:00
parent d1f8d6afc2
commit d808aced1d
5 changed files with 61 additions and 21 deletions

View file

@ -127,9 +127,7 @@ define(['connectionManager', 'playbackManager', 'events', 'inputManager', 'focus
var apiClient = this;
if (msg.MessageType === "LibraryChanged") {
}
else if (msg.MessageType === "Play") {
if (msg.MessageType === "Play") {
var serverId = apiClient.serverInfo().Id;
@ -143,10 +141,6 @@ define(['connectionManager', 'playbackManager', 'events', 'inputManager', 'focus
playbackManager.play({ ids: msg.Data.ItemIds, startPositionTicks: msg.Data.StartPositionTicks, serverId: serverId });
}
}
else if (msg.MessageType === "ServerShuttingDown") {
}
else if (msg.MessageType === "ServerRestarting") {
}
else if (msg.MessageType === "Playstate") {
if (msg.Data.Command === 'Stop') {
@ -172,8 +166,6 @@ define(['connectionManager', 'playbackManager', 'events', 'inputManager', 'focus
var cmd = msg.Data;
processGeneralCommand(cmd);
}
else if (msg.MessageType === "RestartRequired") {
}
}
function bindEvents(apiClient) {