diff options
Diffstat (limited to 'app/MediaPlayer.qml')
-rw-r--r-- | app/MediaPlayer.qml | 3 |
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 |