mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
More manual deuglification
This commit is contained in:
parent
02671c7fd3
commit
f3e46a369f
3 changed files with 479 additions and 160 deletions
|
@ -71,7 +71,9 @@ define(["browser", "datetime", "backdrop", "libraryBrowser", "listView", "imageL
|
|||
return null;
|
||||
}
|
||||
|
||||
if (options = options || {}, options.type = options.type || "Primary", "Primary" === options.type && item.SeriesPrimaryImageTag) {
|
||||
options = options || {};
|
||||
options.type = options.type || "Primary";
|
||||
if ("Primary" === options.type && item.SeriesPrimaryImageTag) {
|
||||
options.tag = item.SeriesPrimaryImageTag;
|
||||
return connectionManager.getApiClient(item.ServerId).getScaledImageUrl(item.SeriesId, options);
|
||||
}
|
||||
|
@ -125,7 +127,9 @@ define(["browser", "datetime", "backdrop", "libraryBrowser", "listView", "imageL
|
|||
maxHeight: 300
|
||||
}) : null;
|
||||
|
||||
if (console.log("updateNowPlayingInfo"), setImageUrl(context, url), item) {
|
||||
console.log("updateNowPlayingInfo");
|
||||
setImageUrl(context, url);
|
||||
if (item) {
|
||||
backdrop.setBackdrops([item]);
|
||||
var apiClient = connectionManager.getApiClient(item.ServerId);
|
||||
apiClient.getItem(apiClient.getCurrentUserId(), item.Id).then(function (fullItem) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue