summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-10-02 14:16:39 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-10-03 20:23:20 -0700
commit001f10ceffba5c1c8a5da89c5daa16fe69e36197 (patch)
tree7e4d52aed50ffed0d1003a5d77ab484cd76982e4
parent51185e65ba57d8c6f3224cec598a68a20bb0a220 (diff)
qml: lightmediascanner: update getting media patheel_4.99.1eel/4.99.14.99.1sandbox/kmitsunari/hmi-framework
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 <matt.ranostay@konsulko.com>
-rw-r--r--app/api/LightMediaScanner.qml2
1 files changed, 1 insertions, 1 deletions
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)