mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
finish #386 and implement nextTrack action
This commit is contained in:
parent
673548b630
commit
47a6b2c0ae
2 changed files with 19 additions and 3 deletions
|
@ -804,9 +804,10 @@ var Dashboard = {
|
|||
MediaPlayer.seek(msg.Data.SeekPosition);
|
||||
}
|
||||
else if (msg.Data.Command === 'NextTrack') {
|
||||
MediaPlayer.queuePlayNext();
|
||||
MediaPlayer.nextTrack();
|
||||
}
|
||||
else if (msg.Data.Command === 'PreviousTrack') {
|
||||
MediaPlayer.previousTrack();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue