Jump to content

Help with Tasker, isMusicActive()

Recommended Posts

Hi, I have the following task set (it's to know if there's music playing, watch the attachments for details), and I don't know why it doesn't work with Poweramp, it works with google play music though. I'm not an advanced user of Tasker, so my knowledge is limited.

Thanks for your time and any help.


2018-07-11 00.21.58.png2018-07-11 00.22.07.png

2018-07-11 00.22.14.png2018-07-11 00.22.20.png

2018-07-11 00.22.26.png


EDIT: What I wanted to achieve is to enable "Do Not Disturb" (DND) while music was playing, because with Hi-Res enabled, when I get notifications the audio switched to the phone's speakers, and when the notification sound finishes the music comes back to the headphones.




2jmkRkC.png    JzqlRVh.png

Edited by Mr_SeLeNiO
found a better solution

Share this post

Link to post
Share on other sites
29 minutes ago, andrewilley said:

Which version of PA, and if one of the v3 test builds do you have high-res output enabled?


alpha-build-709 and high-res output enabled

EDIT: finally understood how to do what I wanted using powerampAPI, this thread can be closed/deleted

Share this post

Link to post
Share on other sites
49 minutes ago, flyingdutchman said:

It would be of interest to other pa users if you explained how you resolved this.

edited with the solution, thanks

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