artsmvch / Frolomuse

Music player for Android
62 stars 9 forks source link

Problems with wireless headphones. #10

Open Pebor opened 1 year ago

Pebor commented 1 year ago

Hello! Didn't know this was open source! (Perhaps a github link in the app would be useful) I love this app and have been using it for a few months now, the ergonomics are great, can manage my session real fast. There is just one big problem for me and I would imagine others, wireless headphones are a pain with this.

There are only two big problems I've encountered, and those are: 1) Skipping the song forwards or backwards requires an additional 'pause' action as it is stopped. For some reason it only doesn't play automatically on some songs? It's probably every second skip from my small testing. 2) Taking my headphones off (Sony WF-1000XM4) should stop playback, but instead does nothing when the music is playing and starts playing the music if it was stopped before (putting them back stops the music again). This is a huge problem when taking my headphones off and putting them back in their case as the audio stops, then starts playing after the headphones disconnect, but at that point it starts blasting through my speakers dealing me embarrassment in public. So when using Frolomouse, this always has to be kept in the back of my head, to turn off any sound before stopping my session.

In the past I had Soundpeats truengine 3's, now am rocking the Sony WF-1000XM4's and my friend has the same issues with his Samsung Galaxy Buds 2.

artsmvch commented 1 year ago

Hi! Thanks for reporting these issues. Could you please provide me with more details:

  1. What's your Android OS version and device model?
  2. Where did you try skipping the song forwards and backwards? On the player screen or on the notification? (tbh I have never faced this problem before).
  3. What's the audio format of the songs for which skipping does not work?
  4. Is the "Pause playback" feature enabled on the settings screen?
Pebor commented 1 year ago

Of course!

  1. This was all happening to me across android 11, 12 and now 13 (MIUI, MIUI, now Arrowos), my device is a Redmi note 10 pro (M2101K6G), my friend's a Poco.. something (2020 - 2021 model) android 11 - 13 as well
  2. Through touch controls on my headphones, works fine inside android

Maybe a

Headsets are just... argh!!! Just need to implement a normal handler that will handle clicks for all headsets.

thing

  1. All my current music is in mp3, a while back I used to have some flac/ogg but I don't remember anything being different.
  2. Pause playback is toggled, toggling it off yielded the same result with the headphones when taking only one piece off or putting them back into their case.
artsmvch commented 1 year ago

I see. Headsets are a big pain because different models behave differently regards to the API. I'll see if I can fix it.

Pebor commented 1 year ago

How can such used features not be more standardized is beyond me. Good luck! And thank you for your time.