diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index d611a06519..3a283d4aaa 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -14,12 +14,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.4.443", - "_release": "1.4.443", + "version": "1.4.444", + "_release": "1.4.444", "_resolution": { "type": "version", - "tag": "1.4.443", - "commit": "06bd97079047cdcad2a97f6475fe7022bc1c819f" + "tag": "1.4.444", + "commit": "d3110971160e5f410d7c31b74589fee6ca6090a6" }, "_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_target": "^1.2.1", diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-slider/emby-slider.js b/dashboard-ui/bower_components/emby-webcomponents/emby-slider/emby-slider.js index 831a62d6f4..c2bd5171d2 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-slider/emby-slider.js +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-slider/emby-slider.js @@ -42,7 +42,10 @@ if (range.getBubbleText) { value = range.getBubbleText(value); + } else { + value = Math.round(value); } + bubbleText.innerHTML = value; } @@ -114,7 +117,7 @@ var clientX = e.clientX; var bubbleValue = (clientX - rect.left) / rect.width; bubbleValue *= 100; - updateBubble(this, Math.round(bubbleValue), sliderBubble, sliderBubbleText); + updateBubble(this, bubbleValue, sliderBubble, sliderBubbleText); if (hasHideClass) { sliderBubble.classList.remove('hide'); diff --git a/dashboard-ui/bower_components/emby-webcomponents/playback/playbackmanager.js b/dashboard-ui/bower_components/emby-webcomponents/playback/playbackmanager.js index 4d09435f87..5e35088cda 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/playback/playbackmanager.js +++ b/dashboard-ui/bower_components/emby-webcomponents/playback/playbackmanager.js @@ -1235,7 +1235,7 @@ define(['events', 'datetime', 'appSettings', 'pluginManager', 'userSettings', 'g state.PlayState.VolumeLevel = player.getVolume(); state.PlayState.IsMuted = player.isMuted(); state.PlayState.IsPaused = player.paused(); - state.PlayState.RepeatMode = self.getRepeatMode(); + state.PlayState.RepeatMode = self.getRepeatMode(player); if (streamInfo) { state.PlayState.PositionTicks = getCurrentTicks(player); diff --git a/dashboard-ui/bower_components/emby-webcomponents/playback/remotecontrolautoplay.js b/dashboard-ui/bower_components/emby-webcomponents/playback/remotecontrolautoplay.js index de7bd8b445..1159bd6506 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/playback/remotecontrolautoplay.js +++ b/dashboard-ui/bower_components/emby-webcomponents/playback/remotecontrolautoplay.js @@ -3,7 +3,7 @@ function transferPlayback(oldPlayer, newPlayer) { - oldPlayer.getPlayerState().then(function (state) { + playbackManager.getPlayerState(oldPlayer).then(function (state) { var item = state.NowPlayingItem; @@ -13,7 +13,7 @@ var playState = state.PlayState || {}; - oldPlayer.stop(); + playbackManager.stop(oldPlayer); var itemId = item.Id; var resumePositionTicks = playState.PositionTicks || 0; @@ -21,7 +21,7 @@ playbackManager.play({ ids: [itemId], startPositionTicks: resumePositionTicks - }); + }, newPlayer); }); } @@ -42,10 +42,7 @@ return; } - // If playback is playing locally and a new player is activated, transfer the media to that player - if (oldPlayer.isPlaying()) { - transferPlayback(oldPlayer, newPlayer); - } + transferPlayback(oldPlayer, newPlayer); }); }); \ No newline at end of file diff --git a/dashboard-ui/scripts/nowplayingbar.js b/dashboard-ui/scripts/nowplayingbar.js index c2432ec951..6af06281e7 100644 --- a/dashboard-ui/scripts/nowplayingbar.js +++ b/dashboard-ui/scripts/nowplayingbar.js @@ -31,7 +31,7 @@ html += '