mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixes #924 - Seasons - backdrop shown instead of thumb
This commit is contained in:
parent
22eb703c65
commit
f518e2b353
1 changed files with 12 additions and 1 deletions
|
@ -977,6 +977,7 @@
|
|||
});
|
||||
|
||||
forceName = true;
|
||||
|
||||
} else if (item.ImageTags && item.ImageTags.Primary) {
|
||||
|
||||
height = 400;
|
||||
|
@ -1012,7 +1013,17 @@
|
|||
tag: item.AlbumPrimaryImageTag
|
||||
});
|
||||
|
||||
} else if (item.BackdropImageTags && item.BackdropImageTags.length) {
|
||||
}
|
||||
else if (item.Type == 'Season' && item.ImageTags && item.ImageTags.Thumb) {
|
||||
|
||||
imgUrl = ApiClient.getScaledImageUrl(item.Id, {
|
||||
type: "Thumb",
|
||||
maxWidth: downloadHeight,
|
||||
tag: item.ImageTags.Thumb
|
||||
});
|
||||
|
||||
}
|
||||
else if (item.BackdropImageTags && item.BackdropImageTags.length) {
|
||||
|
||||
imgUrl = ApiClient.getScaledImageUrl(item.Id, {
|
||||
type: "Backdrop",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue