summaryrefslogtreecommitdiffstats
path: root/app/MediaPlayer.qml
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-05-16 16:14:30 -0400
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-06-02 22:28:18 -0700
commitb0f682b1579e520896ccd5492d6666d962a0c226 (patch)
tree159147561c294cd52de6d6c3b6e81c3186fedef6 /app/MediaPlayer.qml
parent535f2d051f965e9ee4a9c1eed13a8d0e997463e8 (diff)
binding: add initial media binding
Add initial media binding that populates playlist on media insertion Bug-AGL: SPEC-610 Change-Id: I24227f7c718606191ae3de72bd692e747353c919 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/MediaPlayer.qml')
-rw-r--r--app/MediaPlayer.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml
index 4a29d95..95af8c0 100644
--- a/app/MediaPlayer.qml
+++ b/app/MediaPlayer.qml
@@ -20,6 +20,7 @@ import QtQuick.Controls 2.0
import QtMultimedia 5.6
import AGL.Demo.Controls 1.0
import MediaPlayer 1.0
+import 'api' as API
ApplicationWindow {
id: root
@@ -45,6 +46,11 @@ ApplicationWindow {
}
}
+ API.LightMediaScanner {
+ id: binding
+ url: bindingAddress
+ }
+
Connections {
target: dbus