Jump to content
Poweramp
Sign in to follow this  
papete

com.maxmpz.audioplayer.STATUS_CHANGED messed up

Recommended Posts

I have tasker listening to intents from com.maxmpz.audioplayer.STATUS_CHANGED. For Poweramp version 2 the status broadcasted was "1" whenever PA was playing and "3" when it stopped playing. This was a good way to let tasker know if music was playing at a certain moment.

Now, with PA v3, I only get status = 1 whether I start or stop the music. I guess you are aware of it, and will fix it for future verisons, but in case you are not I'm reporting...

 

Thanks

Share this post


Link to post
Share on other sites

Unfortunately, extra "status" won't work well anymore for v3 and will be removed. In new audio engine, track status is detached from playback status, that means track can be changed independently of playback state, which can be also changed independently from track.

So there is new "state" (stopped=0/playing=1/paused=2) extra for com.maxmpz.audioplayer.STATUS_CHANGED, and com.maxmpz.audioplayer.TRACK_CHANGED with track data.

The API will be updated on github with beta1 release.

 

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
Sign in to follow this  

×