mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update vaapi defaults
This commit is contained in:
parent
cbca3a20ae
commit
ee908c0726
6 changed files with 31 additions and 18 deletions
|
@ -112,15 +112,7 @@
|
|||
coverImage: item.Type == 'PhotoAlbum'
|
||||
};
|
||||
|
||||
if (viewStyle == "Backdrop") {
|
||||
|
||||
posterOptions.shape = 'backdrop';
|
||||
posterOptions.showTitle = true;
|
||||
posterOptions.preferBackdrop = true;
|
||||
|
||||
html = cardBuilder.getCardsHtml(posterOptions);
|
||||
}
|
||||
else if (viewStyle == "PosterCard") {
|
||||
if (viewStyle == "PosterCard") {
|
||||
|
||||
posterOptions.showTitle = true;
|
||||
posterOptions.showYear = true;
|
||||
|
@ -137,9 +129,11 @@
|
|||
});
|
||||
}
|
||||
else if (viewStyle == "Thumb") {
|
||||
|
||||
posterOptions.preferThumb = true;
|
||||
posterOptions.showTitle = true;
|
||||
posterOptions.shape = "backdrop";
|
||||
posterOptions.centerText = true;
|
||||
posterOptions.overlayText = false;
|
||||
html = cardBuilder.getCardsHtml(posterOptions);
|
||||
} else {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue