mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
14a4b8018f
20 changed files with 129 additions and 117 deletions
|
@ -882,29 +882,16 @@ var Dashboard = {
|
|||
|
||||
Dashboard.onBrowseCommand(msg.Data);
|
||||
}
|
||||
else if (msg.MessageType === "SystemCommand") {
|
||||
else if (msg.MessageType === "GeneralCommand") {
|
||||
|
||||
if (msg.Data === 'GoHome') {
|
||||
var cmd = msg.Data;
|
||||
|
||||
if (cmd.Name === 'GoHome') {
|
||||
Dashboard.navigate('index.html');
|
||||
}
|
||||
else if (msg.Data === 'GoToSettings') {
|
||||
else if (cmd.Name === 'GoToSettings') {
|
||||
Dashboard.navigate('dashboard.html');
|
||||
}
|
||||
else if (msg.Data === 'Mute') {
|
||||
MediaPlayer.mute();
|
||||
}
|
||||
else if (msg.Data === 'Unmute') {
|
||||
MediaPlayer.unmute();
|
||||
}
|
||||
else if (msg.Data === 'VolumeUp') {
|
||||
MediaPlayer.volumeUp();
|
||||
}
|
||||
else if (msg.Data === 'VolumeDown') {
|
||||
MediaPlayer.volumeDown();
|
||||
}
|
||||
else if (msg.Data === 'ToggleMute') {
|
||||
MediaPlayer.toggleMute();
|
||||
}
|
||||
}
|
||||
else if (msg.MessageType === "MessageCommand") {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue