summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/MediaPlayer.qml1
-rw-r--r--app/api/BluetoothManager.qml4
2 files changed, 4 insertions, 1 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml
index a297162..1c7c5a8 100644
--- a/app/MediaPlayer.qml
+++ b/app/MediaPlayer.qml
@@ -41,7 +41,6 @@ ApplicationWindow {
repeat: true
onTriggered: {
bluetooth.position = bluetooth.position + 250
- slider.value = bluetooth.position
}
}
diff --git a/app/api/BluetoothManager.qml b/app/api/BluetoothManager.qml
index f102fe2..63e3e60 100644
--- a/app/api/BluetoothManager.qml
+++ b/app/api/BluetoothManager.qml
@@ -101,6 +101,9 @@ WebSocket {
var data = payload.data
var metadata = data.Metadata
+ if (root.deviceAddress == "")
+ root.deviceAddress = data.Address
+
if (root.deviceAddress != data.Address)
break
@@ -109,6 +112,7 @@ WebSocket {
sendSocketMessage("discovery_result", 'None')
break
}
+ root.connected = data.Connected == "True"
root.av_connected = data.AVPConnected == "True"
if ('Position' in metadata) {