vhaudiquet / blade-player

Android music player that plays from local library, Spotify or Deezer
GNU General Public License v3.0
67 stars 12 forks source link

Deezer/Spotify player are not stopped when bluetooth speaker/headphones disconnected #7

Closed vhaudiquet closed 6 years ago

vhaudiquet commented 6 years ago

The standard android MediaPlayer stops automatically when bluetooth audio output device is disconnected, but Deezer and Spotify player don't. Maybe i need to set an option / handle an event to make them do so, but i did not find it. Maybe the issue comes from the Spotify SDK / Deezer SDK. Anyway, i'll need to work on that some day...

vhaudiquet commented 6 years ago

Problem solved ; i just forgot to edit the AudioNoisyIntentReceiver, looks like that was the one that handles device switch...