mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-11-14 13:35:17 +00:00
Chris Josten
7b6c272aa9
This should encompass most simple things, besides some larger, trickier things, like the video streams and the now-broken userdata
32 lines
685 B
QML
32 lines
685 B
QML
import QtQuick 2.6
|
|
import Sailfish.Silica 1.0
|
|
|
|
import nl.netsoj.chris.Jellyfin 1.0 as J
|
|
|
|
import "../../components"
|
|
|
|
BaseDetailPage {
|
|
id: pageRoot
|
|
navigationStyle: PageNavigation.Vertical
|
|
|
|
Rectangle {
|
|
anchors.fill: parent
|
|
color: Theme.overlayBackgroundColor
|
|
}
|
|
|
|
PageHeader {
|
|
title: itemData.name
|
|
titleColor: Theme.primaryColor
|
|
}
|
|
|
|
RemoteImage {
|
|
id: image
|
|
source: apiClient.downloadUrl(itemId)
|
|
fillMode: Image.PreserveAspectFit
|
|
anchors.fill: parent
|
|
|
|
blurhash: itemData.imageBlurHashes["Primary"][itemData.imageTags["Primary"]]
|
|
aspectRatio: itemData.width / itemData.height
|
|
}
|
|
}
|