mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
update components
This commit is contained in:
parent
511d4882c1
commit
80b537e30b
@ -14,12 +14,12 @@
|
||||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.4.417",
|
||||
"_release": "1.4.417",
|
||||
"version": "1.4.419",
|
||||
"_release": "1.4.419",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.4.417",
|
||||
"commit": "d03cd494c958c2fcbc45447fab8b6ab58c925cba"
|
||||
"tag": "1.4.419",
|
||||
"commit": "e65e31848b76b3cab4193f201517212050de8c53"
|
||||
},
|
||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "^1.2.1",
|
||||
|
@ -748,7 +748,7 @@ define(['events', 'datetime', 'appSettings', 'pluginManager', 'userSettings', 'g
|
||||
self.seek = function (ticks, player) {
|
||||
|
||||
player = player || currentPlayer;
|
||||
if (currentPlayer && !enableLocalPlaylistManagement(player)) {
|
||||
if (player && !enableLocalPlaylistManagement(player)) {
|
||||
return player.seek(ticks);
|
||||
}
|
||||
|
||||
@ -1034,17 +1034,17 @@ define(['events', 'datetime', 'appSettings', 'pluginManager', 'userSettings', 'g
|
||||
self.instantMix = function (item, player) {
|
||||
|
||||
player = player || currentPlayer;
|
||||
if (!enableLocalPlaylistManagement(player)) {
|
||||
if (player && !enableLocalPlaylistManagement(player)) {
|
||||
return player.instantMix(item);
|
||||
}
|
||||
|
||||
var apiClient = connectionManager.getApiClient(serverId);
|
||||
var apiClient = connectionManager.getApiClient(item.ServerId);
|
||||
|
||||
var options = {};
|
||||
options.UserId = apiClient.getCurrentUserId();
|
||||
options.Fields = 'MediaSources';
|
||||
|
||||
apiClient.getInstantMixFromItem(id, item).then(function (result) {
|
||||
apiClient.getInstantMixFromItem(item.Id, options).then(function (result) {
|
||||
self.play({
|
||||
items: result.Items
|
||||
});
|
||||
@ -1054,7 +1054,7 @@ define(['events', 'datetime', 'appSettings', 'pluginManager', 'userSettings', 'g
|
||||
self.shuffle = function (shuffleItem, player) {
|
||||
|
||||
player = player || currentPlayer;
|
||||
if (!enableLocalPlaylistManagement(player)) {
|
||||
if (player && !enableLocalPlaylistManagement(player)) {
|
||||
return player.shuffle(shuffleItem);
|
||||
}
|
||||
|
||||
@ -1177,7 +1177,7 @@ define(['events', 'datetime', 'appSettings', 'pluginManager', 'userSettings', 'g
|
||||
self.currentTime = function (player) {
|
||||
|
||||
player = player || currentPlayer;
|
||||
if (currentPlayer && !enableLocalPlaylistManagement(player)) {
|
||||
if (player && !enableLocalPlaylistManagement(player)) {
|
||||
return player.currentTime();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user