update hdhr stream
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user