How to confirm if AntennaPod playing or not from command line?

Is there somewayfigure out whether AntennaPod is playing or not by using adb?

I want to make a keyboard shorcut to play/pause with single key.
I’m thinking of a script which play/pause accordingly after figuring currently if it’s playing or not.

Now, I’m using two different keys for these actions.

Thank you very much

I don’t think you can reliably determine the state from the command line. In case you just want to toggle playback, there is the play/pause toggle keycode with the number 85

1 Like