Rename of mediaplayer to 'Music'
[apps/mediaplayer.git] / app / MediaPlayer.qml
index bcf09cf..ebd5324 100644 (file)
@@ -19,7 +19,6 @@ import QtQuick.Layouts 1.1
 import QtQuick.Controls 2.0
 import QtMultimedia 5.6
 import AGL.Demo.Controls 1.0
-import MediaPlayer 1.0
 import 'api' as API
 
 ApplicationWindow {
@@ -42,7 +41,6 @@ ApplicationWindow {
         repeat: true
         onTriggered: {
             bluetooth.position = bluetooth.position + 250
-            slider.value = bluetooth.position
         }
     }
 
@@ -87,12 +85,12 @@ ApplicationWindow {
                         Layout.fillHeight: true
                         Row {
                             spacing: 20
-                            ToggleButton {
-                                id: random
-                                visible: bluetooth.connected == false
-                                offImage: './images/AGL_MediaPlayer_Shuffle_Inactive.svg'
-                                onImage: './images/AGL_MediaPlayer_Shuffle_Active.svg'
-                            }
+                            //ToggleButton {
+                            //    id: random
+                            //    visible: bluetooth.connected == false
+                            //    offImage: './images/AGL_MediaPlayer_Shuffle_Inactive.svg'
+                            //    onImage: './images/AGL_MediaPlayer_Shuffle_Active.svg'
+                            //}
                             ToggleButton {
                                 id: loop
                                 visible: bluetooth.connected == false
@@ -266,13 +264,13 @@ ApplicationWindow {
                             Label {
                                 Layout.fillWidth: true
                                 text: model.artist
-                                color: '#66FF99'
+                                color: '#00ADDC'
                                 font.pixelSize: 32
                             }
                         }
                         //Label {
                         //    text: player.time2str(model.duration)
-                        //    color: '#66FF99'
+                        //    color: '#00ADDC'
                         //    font.pixelSize: 32
                         //}
                     }