@@ -25,7 +25,9 @@ DashPreview {
2525 property var item
2626 property alias ready: nfo.ready
2727 property bool playable: false
28+ property string filePath: fileUri != ""
2829 readonly property url fileUri: item ? item.fileUri : ""
30+ property url url: item ? item.nfoUri.replace(/\.nfo$/, "-fanart.jpg") : ""
2931
3032 VideoInfo {
3133 id: nfo
@@ -33,9 +35,7 @@ DashPreview {
3335 }
3436
3537 title: nfo.ready ? nfo.video.title : ""
36− url: item ? item.nfoUri.replace(/\.nfo$/, "-fanart.jpg") : ""
3738 previewWidthRatio: 0.6
38− playable: fileUri != ""
3939
4040 onPreviewImageClicked: {
4141 if (playable) {
@@ -64,7 +64,7 @@ DashPreview {
6464 readonly property bool bigButton: parent.width > units.gu(40)
6565 width: bigButton ? units.gu(8) : units.gu(4.5)
6666 height: width
67− source: "graphics/play_button%1%2.png".arg(previewImageMouseArea.pressed ? "_active" : "").arg(bigButton ? "_big" : "")
67+ source: "../graphics/play_button%1%2.png".arg(previewImageMouseArea.pressed ? "_active" : "").arg(bigButton ? "_big" : "")
6868 }
6969
7070 MouseArea {