Hi, sorry to reopen this, but I've recently wanted to use Poweramp again for the same scenario, but have issues. I'm on the same phone (A50), running Android 11, my use case is wanting to start music playback on a locked device (fingerprint and PIN) after detecting the BT Device in my car (Roidmi 2s).
Poweramp Full version: build-905-arm64-play [905004-96b6d050]
Bixby Routines: 3.1.16.6
Android: A505FXXU8CUE3
First of all, I have a question:
what is the difference between Poweramps "PSMediaButtonReceiver" and the other Actions under Bixby Routines - Play Music action (list in attachment)?
Because when phone is locked, I have issues with Poweramp automatically starting playback using this Action, although using other apps Action under this same Menu starts playing music more reliably. For instance, Samsungs Music Player Action always started the media playback.
If only this "PSMediaButtonReceiver" is selected, it doesn't play music from locked phone at all. If I unlock the phone prior Bixby routine running, then it plays. A workaround I found is to make an additional action first "Open an app", which opens Poweramp, then triggers the "Play music" action. This works, but if Poweramp wasn't use in a day (for instance I sit in the car after a day), I still need to unlock phone, then press Play (Poweramp does open though). It looks like a race condition, where app isn't opened, so the PSMediaButtonReceiver Action goes empty. If I get out of the car (for instance to the store) then come back, it plays automatically (probably because Poweramp is still running or is in cache).
Mind you that I tested this behaviour with BT Headphones, where it worked more reliably and also without the workaround of having to run the "Open app" action to open Poweramp before. Does this perhaps has to do that the "PSMediaButtonReceiver" action is more better utilized and meant to be for headphones with buttons?