summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/MediaPlayer.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml
index 6f8d0db..dc5cdce 100644
--- a/app/MediaPlayer.qml
+++ b/app/MediaPlayer.qml
@@ -105,6 +105,9 @@ ApplicationWindow {
if (data.Connected == "False")
return
+ if (!bluetooth.av_connected && data.AVPConnected == "True")
+ mediaplayer.pause()
+
bluetooth.connected = data.Connected == "True"
bluetooth.av_connected = data.AVPConnected == "True"
bluetooth.deviceAddress = data.Address