1
0
Fork 0
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:
Luis Miguel Almánzar 2013-07-18 23:12:52 -04:00
parent 673548b630
commit 47a6b2c0ae
2 changed files with 19 additions and 3 deletions

View file

@ -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();
}
}
},