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