summaryrefslogtreecommitdiffstats
path: root/app/MediaPlayer.qml
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-05-25 16:52:13 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-06-02 22:28:18 -0700
commitf3ddc376291262a6b305cc2b0a52792abdc7c85c (patch)
tree5e2685d2f62690e32ee8b4920e8dd139bab322d1 /app/MediaPlayer.qml
parentb0f682b1579e520896ccd5492d6666d962a0c226 (diff)
binding: remove non-binding lightmediascanner detection
Switch to binding over raw DBus commands for media detection. Bug-AGL: SPEC-610 Change-Id: Icf924000d721d92a1056962e55f5c2c75f159ee5 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/MediaPlayer.qml')
-rw-r--r--app/MediaPlayer.qml19
1 files changed, 0 insertions, 19 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml
index 95af8c0..71bda77 100644
--- a/app/MediaPlayer.qml
+++ b/app/MediaPlayer.qml
@@ -54,21 +54,6 @@ ApplicationWindow {
Connections {
target: dbus
- onStopPlayback: {
- player.stop()
- playlist.clear()
- playlistmodel.setSource(playlist)
- playlistview.visible = false
- }
-
- onProcessPlaylistUpdate: {
- playlist.clear()
- playlist.addItems(mediaFiles)
-
- playlistmodel.setSource(playlist)
- playlistview.visible = bluetooth.connected == false
- }
-
onProcessPlaylistHide: {
playlistview.visible = false
player.stop()
@@ -126,10 +111,6 @@ ApplicationWindow {
Playlist {
id: playlist
playbackMode: random.checked ? Playlist.Random : loop.checked ? Playlist.Loop : Playlist.Sequential
-
- Component.onCompleted: {
- playlist.addItems(mediaFiles)
- }
}