From 001f10ceffba5c1c8a5da89c5daa16fe69e36197 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Mon, 2 Oct 2017 14:16:39 -0700 Subject: qml: lightmediascanner: update getting media path Due to mediascanner binding API changes exposing metadata update the qml access the media file path Bug-AGL: SPEC-924 Change-Id: Ia414ecc6a14e9c30f09c9c99565903ad4729ba93 Signed-off-by: Matt Ranostay --- app/api/LightMediaScanner.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/api/LightMediaScanner.qml b/app/api/LightMediaScanner.qml index 112cb98..b61ff0d 100644 --- a/app/api/LightMediaScanner.qml +++ b/app/api/LightMediaScanner.qml @@ -38,7 +38,7 @@ WebSocket { function validateItem(media) { for (var i = 0; i < media.length; i++) { - var item = media[i] + var item = media[i].path if (root.items.indexOf(item) < 0) { playlist.addItem(item) root.items.push(item) -- cgit 1.2.3-korg