geigi / cozy

🎧 Listen to audio books 📚 on Linux
https://cozy.sh
GNU General Public License v3.0
1.09k stars 84 forks source link

Cozy resumes paused playback when disconnecting bluetooth audio device #757

Open 5p4r74cu5 opened 1 year ago

5p4r74cu5 commented 1 year ago

Bug/Feature description

Hey everyone, love Cozy, thanks for all the work that went into it :-) I have a bluetooth speaker that I connect to my laptop sometimes, and I noticed that if I press pause on the bluetooth speaker to pause playback it works, but if I disconnect/turn off the bluetooth speaker when it has been paused this way, Cozy then resumes playback via the laptop speakers instead of staying paused. I haven't noticed such issues with playback from other applications like web browser, vlc, etc.

Steps to reproduce

  1. Play audiobook via bluetooth speaker (or any bluetooth audio device?).
  2. Pause playback via the bluetooth speaker.
  3. Disconnect or turn off the bluetooth speaker.

System Information