Jump to content

Poweramp should read KEYCODE_MEDIA inputs


Bauru-SP

Recommended Posts

On head units, the physical buttons won't work on Poweramp 3. 
The physical buttons work great on Poweramp 2 build 588. 
They won’t work on Poweramp 3 only.

The reason is because Poweramp 3 won't read KEYCODE_MEDIA inputs. 
It should read the following:

 

  • KEYCODE_MEDIA_FAST_FORWARD
  • KEYCODE_MEDIA_NEXT
  • KEYCODE_MEDIA_PAUSE
  • KEYCODE_MEDIA_PLAY
  • KEYCODE_MEDIA_PLAY_PAUSE
  • KEYCODE_MEDIA_PREVIOUS
  • KEYCODE_MEDIA_REWIND
  • KEYCODE_MEDIA_STOP

 

Once again, Poweramp 2 build 588 reads these inputs; Poweramp 3 doesn't . 

 

Please, support KEYCODE_MEDIA inputs again.

Link to comment
Share on other sites

Thanks for the request. On Android, these keys are (should be) read by system, which reroutes them to MediaSession handler, which is, of course, implemented and works in Poweramp. I guess some head units don't follow that and some additional workarounds are required. I plan to get one of such headunits into my test lab - hopefully this will help with resolving issues like that, though, the head unit I plan to get (PX5 based Android 8 ) may have no issues with that.

Link to comment
Share on other sites

Excellent, I have a px5 head unit with android 8 and the problem presents itself. It’s a known problem; it isn’t just me, as you can check here and here.

 

The problem is with steering wheel buttons. They work on Poweramp 2 588, and don’t work on Poweramp 3.

 

Thank you.

 

 

Link to comment
Share on other sites

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...