Jump to content
Poweramp
Spaceoid

Volume keys while no music is playing

Recommended Posts

First of all, hi to this great community! Insane that a music player app gets so much support and attention.
I experience a very weird problem: On my phone, Poweramp v709 is installed, alongside the 'standard' LineageOS music player.
While playing music with either of these players, I can skip or repeat titles via the volume control keys of my phone.
The problem now is that, ONLY in Poweramp (so i assume its an app-related issue) the music STARTS playing if I do not listen to any music and I by mistake do a long-press on the 'Volume up' key. So, for example, I sit in university, silence across the room, and all of the sudden, Poweramp starts playing music because the volume key got pressed through my trowsers. Is this intended or might there be a fix for this anytime in the future? It also happened to me once in cinema, which was especially emberassing. :D

 

Thank you all in advance!

Share this post


Link to post
Share on other sites

I noticed that too, it happens with headset buttons etc too - pressing Next Track or Previous Track triggers both the change of track AND starts playback, which didn't happen on the v2 builds as far as I recall.

Andre

Share this post


Link to post
Share on other sites
On 6/1/2018 at 10:29 PM, Spaceoid said:

 Poweramp starts playing music because the volume key got pressed through my trowsers. Is this intended or might there be a fix for this anytime in the future? It also happened to me once in cinema, which was especially emberassing. :D

Thanks for the report. None of the Poweramp versions have any code to do that (start playback on volume keys), thus it something with ROM + device + apps combination. What is exactly your device and Android/ROM version? CM/Lineage ROMs have builtin volume keys to media keys processing when screen is off, but this only works when something is already played and that only changes tracks - it doesn't pause/resume.

 

Share this post


Link to post
Share on other sites

It's not the volume keys per se, it's when the OS (or an app) creates MEDIA_NEXT (163) or MEDIA_PREVIOUS (165) key press events, and those are being interpreted as MEDIA_NEXT >  PLAY.

Andre

Share this post


Link to post
Share on other sites

Yeah, it at least has to be related somewhat to Poweramp, as in the standard LOS music player and in Pulsar the music does not start after a long pressed volume key while no music is playing.

Apart from that the beta preview is the most awesome player I have ever seen - great work!!!

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

×