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

fix shuffle/instant mix

This commit is contained in:
Luke Pulverenti 2016-07-17 16:38:05 -04:00
parent c925a314cf
commit 7323e865f2
2 changed files with 14 additions and 0 deletions

View file

@ -585,12 +585,23 @@
self.shuffle = function (id) {
// accept both id and item being passed in
if (id.Id) {
id = id.Id;
}
doWithPlaybackValidation(currentPlayer, function () {
currentPlayer.shuffle(id);
});
};
self.instantMix = function (id) {
// accept both id and item being passed in
if (id.Id) {
id = id.Id;
}
doWithPlaybackValidation(currentPlayer, function () {
currentPlayer.instantMix(id);
});