Jump to content
Poweramp
Allekz

Not responding to Bluetooth

Recommended Posts

Poweramp is not responding to my bluetooth devices buttos (though it's paired, and sounds great). I have tasted it with my car stereo (which also doesn't show the song playing data), and bluettoth earbouds. I know my devices are not the problem, because other apps work fine. Any help?


Poweramp Pro v3 build 316
Xiaomi Redmi Note 5 Pro
Android 8.1 based custom ROM (AOSP Extended)

Share this post


Link to post
Share on other sites
7 minutes ago, Allekz said:

Poweramp is not responding to my bluetooth devices buttos (though it's paired, and sounds great). I have tasted it with my car stereo (which also doesn't show the song playing data), and bluettoth earbouds. I know my devices are not the problem, because other apps work fine. Any help?


Poweramp Pro v3 build 316
Xiaomi Redmi Note 5 Pro
Android 8.1 based custom ROM (AOSP Extended)

Did you enable the buttons ?

03201920170.jpg

Share this post


Link to post
Share on other sites
On 1/3/2019 at 1:17 PM, blaubär said:

Did you enable the buttons ?

03201920170.jpg

Yes.

Share this post


Link to post
Share on other sites

What does Poweramp Settings > Headset/Bluetooth > Last Processed Commands show? That will tell you what BT presses have made it through the Android system to PA.

Andre

Share this post


Link to post
Share on other sites

It doesn't seem to detect any commnad from bluetooth, just the device.

It may be related to another problem I have: PA doesn't respond eather to volume buttons to navegate from previous or next song, when screen is off.

bluetooth commands.jpg

Share this post


Link to post
Share on other sites

Poweramp version: v3-build-820-uni

Android version: 8.1.0 (Lineage OS)

 

The problem is that the controls on a bluetooth headset will not unpause the player.   Pausing works just fine; volume works just fine.  It just won't start playing again after I pause.  Other players (native music player and audible) work correctly.

It may be that I've don't have it configured correctly.  I have "Keep notification" and "Always Keep Notification" turned on.  I have "Respond to Buttons" turned on. 

 

Here is a screenshot of the "Last Processed Commands" output, after I pause and try to unpause.

 

Screenshot_20190202-195124_Poweramp.png

 

Best wishes,

Bob

 

Share this post


Link to post
Share on other sites

From your log, it always sends just pause, and that can’t be processed as resume as many devices will send pause commands when in fact pause is required (Eg switching to fm radio usually sends 2-3 pauses in the row, connecting to BT headunits sends multiple pause commands, etc.).

I can try to reproduce this on lineage, and probably some option is possible for that case, though it would be helpful if you specify your phone/bt device. Thanks!

Share this post


Link to post
Share on other sites
32 minutes ago, maxmp said:

From your log, it always sends just pause, and that can’t be processed as resume as many devices will send pause commands when in fact pause is required (Eg switching to fm radio usually sends 2-3 pauses in the row, connecting to BT headunits sends multiple pause commands, etc.).

I can try to reproduce this on lineage, and probably some option is possible for that case, though it would be helpful if you specify your phone/bt device. Thanks!

Thanks.  The phone is a LG G5.  The bluetooth devices are Aftershokz Trekz Titanium headset, Pioneer  SE-MJ561BT headset and Anker SoundCore Sport XL speakers.  

Best wishes,

Bob

 

Share this post


Link to post
Share on other sites

So the devices I mentioned expect, roughly, that the pause button will cause Poweramp to pause, if playing, and play, if paused.  Whereas Poweramp requires a real play to unpause.  The behaviour of Poweramp sounds reasonable to me, so perhaps this "bug" is best ignored.   

As an aside,  I use a generic "truely wireless" earbud to listen to audio books when going to sleep.  That worked properly.

Best wishes,

Bob

 

Share this post


Link to post
Share on other sites

If the BT device is intending to issue a toggle-style Play/Pause command, it should be sending KEYCODE_MEDIA_PLAY_PAUSE. There are separate discrete events KEYCODE_MEDIA_PLAY (for Play) and KEYCODE_MEDIA_PAUSE (for Pause) which should not be treated by players as toggle commands. My Parrot Zik BT headphones send the discrete versions when I use the pause feature (on repeated pressing, it first sends PAUSE, then PLAY, etc). 

Andre

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×