Jump to content

com.maxmpz.audioplayer.STATUS_CHANGED messed up


papete

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

Link to comment
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.

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...