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 4a2a061..a0a1455 100644
--- a/app/MediaPlayer.qml
+++ b/app/MediaPlayer.qml
@@ -104,6 +104,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