finamp icon indicating copy to clipboard operation
finamp copied to clipboard

[Feature Request] Skip forwards/Skip backwards with cable headphones

Open exu-g opened this issue 2 years ago • 5 comments

On Android, pressing the pause/play button on an inline headphone control with wired headphones multiple times should allow skipping to the next/previous song. Similar to how it currently with bluetooth headphones.

  • 2 presses: skip forwards
  • 3 presses: skip backwards

To test:

  • Some cable headphones using the 3.5mm jack
  • Headphone cable inline control (1- or 3-button)
  • Phone with a headphone jack

I tested with various headphones and two different phones on Android 13 and 11 respectively.

exu-g avatar Apr 16 '23 10:04 exu-g

Isn't this usually dependent on how the headphones implement controls?

jmshrv avatar May 10 '23 14:05 jmshrv

I tested 3 different headphones and with all of them the buttons were interpreted as pause/play commands when pressed in quick succession.
One of the headphones is supposed to send a compatible signal, but those still are interpreted as pause/play. I'm not sure if this is an incompatibility with an android version this new (bought them years ago).

exu-g avatar May 13 '23 09:05 exu-g

I have a pair of E10Cs lying about (although iirc it started randomly sending play/pause signals), I'll test them with other apps to see if they're meant to skip. In my mind, headphones should explicitly send a skip signal to skip, as many Bluetooth headphones do.

jmshrv avatar May 14 '23 23:05 jmshrv

I did some testing on different apps I had on my phone with the E10Cs and one of the random cables without specific compatibility. Here's the table with the results.

Vinyl Music Player Subtracks Subtracks 2.0 (alpha) Symfonium AntennaPod
Random Cable No Only forwards No Supported (in settings) No
E10C Supported Only forwards No Supported (in settings) No

Vinyl seems to only support the specific command sent by E10Cs, so there must indeed be some difference.
Subtracks was weird in only supporting skipping forwards. The current alpha of the rewrite doesn't support skipping at all.
Symfonium allowed skipping in both directions and can be changed in the settings.
AntennaPod doesn't do skipping, though there's this old issue covering the topic.

exu-g avatar May 18 '23 18:05 exu-g

blocked by https://github.com/ryanheise/just_audio/issues/901

Chaphasilor avatar Apr 28 '24 23:04 Chaphasilor