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

fix theme songs getting sent to remote player

This commit is contained in:
Luke Pulverenti 2016-08-26 13:48:20 -04:00
parent c32aa0dab1
commit 68b6ae9083
7 changed files with 23 additions and 16 deletions

View file

@ -518,6 +518,12 @@
self.play = function (options) {
if (options.enableRemotePlayers === false) {
if (!currentPlayer.isLocalPlayer) {
return;
}
}
doWithPlaybackValidation(currentPlayer, function () {
if (typeof (options) === 'string') {
options = { ids: [options] };