mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
bump dev version
This commit is contained in:
parent
6daced8387
commit
48a576778f
28 changed files with 443 additions and 326 deletions
|
@ -130,6 +130,7 @@
|
|||
triggerPlayerChange(player, targetInfo);
|
||||
};
|
||||
|
||||
var currentPairingId = null;
|
||||
self.trySetActivePlayer = function (player, targetInfo) {
|
||||
|
||||
if (typeof (player) === 'string') {
|
||||
|
@ -142,6 +143,12 @@
|
|||
throw new Error('null player');
|
||||
}
|
||||
|
||||
if (currentPairingId == targetInfo.id) {
|
||||
return;
|
||||
}
|
||||
|
||||
currentPairingId = targetInfo.id;
|
||||
|
||||
player.tryPair(targetInfo).done(function () {
|
||||
|
||||
currentPlayer = player;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue