mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-06 02:32:44 +00:00
sailfish: display backdrop instead of poster on film page
This simply looks better, since the backdrop has a more suitable aspect ratio.
This commit is contained in:
parent
a35d8026be
commit
5e62fe7624
2 changed files with 11 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
Sailfin: a Jellyfin client written using Qt
|
||||
Copyright (C) 2020 Chris Josten
|
||||
Copyright (C) 2020-2024 Chris Josten
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -27,6 +27,8 @@ import "../.."
|
|||
|
||||
VideoPage {
|
||||
subtitle: qsTr("Released: %1 — Run time: %2").arg(itemData.productionYear).arg(Utils.ticksToText(itemData.runTimeTicks))
|
||||
imageSource: Utils.itemBackdropUrl(apiClient.baseUrl, itemData, 0, {"maxWidth": parent.width})
|
||||
imageBlurhash: itemData.imageBlurHashes["Backdrop"][itemData.backdropImageTags[0]]
|
||||
|
||||
SectionHeader {
|
||||
text: qsTr("Overview")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue