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

Cast audio playback enhancements

* Instant mix works, but not sure about managing the mix
* Shuffle _should_ work, but same thing with mgmt

Receiver page has also been enhanced for music playback.
This commit is contained in:
Tim Hobbs 2014-04-10 04:12:48 -07:00
parent dc2fc2f857
commit 6805109fb4
4 changed files with 307 additions and 51 deletions

View file

@ -188,15 +188,47 @@
};
self.seek = function (position) {
self.changeStream(position);
currentPlayer.changeStream(position);
};
self.currentPlaylistIndex = function (i) {
self.currentPlaylistIndex(i);
currentPlayer.currentPlaylistIndex(i);
};
self.removeFromPlaylist = function (i) {
self.removeFromPlaylist(i);
currentPlayer.removeFromPlaylist(i);
};
self.nextTrack = function () {
currentPlayer.nextTrack();
};
self.previousTrack = function () {
currentPlayer.previousTrack();
};
self.mute = function () {
currentPlayer.mute();
};
self.unmute = function () {
currentPlayer.unmute();
};
self.toggleMute = function () {
currentPlayer.toggleMute();
};
self.volumeDown = function () {
currentPlayer.volumeDown();
};
self.volumeUp = function () {
currentPlayer.volumeUp();
};
self.shuffle = function (id) {
currentPlayer.shuffle(id);
};
}