papete Posted April 5, 2016 Share Posted April 5, 2016 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 More sharing options...
maxmp Posted April 6, 2016 Share Posted April 6, 2016 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 More sharing options...
papete Posted April 6, 2016 Author Share Posted April 6, 2016 Thanks, that will work out for me.... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.