Jump to content

Help with Tasker, isMusicActive()


Mr_SeLeNiO

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.

 

Solution:

 

2jmkRkC.png    JzqlRVh.png

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

Andre

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...