Jump to content
Poweramp
zamuz

Apps for skipping tracks with volume buttons won't work with Poweramp

Recommended Posts

Device: Xiaomi Mi A1
Android version: 9.0
Poweramp version: v3 Build 823

Report:

The app Skip Tracks Settings and others allow long-pressing the volume buttons to skip tracks:

https://forum.xda-developers.com/android/apps-games/app-skip-track-volume-keys-t3914337

It works on every music app I've tried except for Poweramp. Apparently Poweramp does catch the commands, judging by the beeps that I hear after trying to skip to the next or previous track, but doesn't actually skip tracks. The Last Processed Commands list from Poweramp has entries like the following:

09:24:56.422 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_NEXT ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=172513786 playerState=1

09:24:58.763 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PREVIOUS ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=172516127 playerState=1

I tried the Single press, Double/triple press, and Long press settings in the Wired Headset section, but nothing worked. Am I doing something wrong, or is this a bug?

Share this post


Link to post
Share on other sites

Are there corresponding ACTION_UP ending events to match each ACTION_DOWN?

Andre

Share this post


Link to post
Share on other sites
12 minutes ago, andrewilley said:

Are there corresponding ACTION_UP ending events to match each ACTION_DOWN?

There are no ACTION_UP events, that might be the issue.

Share this post


Link to post
Share on other sites

I would certainly expect to see a corresponding UP event at the end of a button press. The app that I use for the exact same purpose (headset cable track changing) shows button DOWN and then UP.

Andre

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...