Macro to Stop Music Playing from APP even after Closing ?

augustya

Member
I am wondering if anyone can help me with a Macro which when I close or Force Quit Soundcloud application stops the playing Music. Funnily right now even when I close Force close my Soundcloud the Music Still keeps Playing ! lol !

I tried making one with a Trigger Application Closed > Control Media ? Simulate Media and Also Tried Simulate Audio Button? Stop it does not work.

Any help ?
 

Jacob L

Moderator (Lawsonator)
Is there a stop button on the notification? You can use notification interaction action to click it.
 

augustya

Member
Is there a stop button on the notification? You can use notification interaction action to click it.
Ok there is s notification in which the player shows that it is playing. So which action in the action should i be choosing ? Made this, but does not work !

Screenshot_2021-10-05-16-13-50-379_com.arlosoft.macrodroid.jpg
 

420

Active member
Ok there is s notification in which the player shows that it is playing. So which action in the action should i be choosing ? Made this, but does not work !

View attachment 1092
Instead of having the notification interaction click the content (I believe this just opens soundcloud?) you should probably choose the action number that corresponds to the pause button or maybe try an action to delete the soundcloud notification and see if that will stop the music.
 

Jacob L

Moderator (Lawsonator)
You need it to click a button rather than content. I'm guessing but perhaps 4. Count the buttons from left to right though
 

augustya

Member
Instead of having the notification interaction click the content (I believe this just opens soundcloud?) you should probably choose the action number that corresponds to the pause button or maybe try an action to delete the soundcloud notification and see if that will stop the music.
You need it to click a button rather than content. I'm guessing but perhaps 4. Count the buttons from left to right though
Ok so you guys are saying in my second action change it to a Click a button ? is such an option available though ?
 

augustya

Member
Instead of having the notification interaction click the content (I believe this just opens soundcloud?) you should probably choose the action number that corresponds to the pause button or maybe try an action to delete the soundcloud notification and see if that will stop the music.
You need it to click a button rather than content. I'm guessing but perhaps 4. Count the buttons from left to right though

Ok I tried configuring it to click a button yet not working. Can anyone please post the exact action I need to input ?
 

420

Active member
Ok I tried configuring it to click a button yet not working. Can anyone please post the exact action I need to input ?
I don't use soundcloud so i have no idea, as Jacob said: count the buttons (in your soundcloud notification) from left to right.
 

augustya

Member
I don't use soundcloud so i have no idea, as Jacob said: count the buttons (in your soundcloud notification) from left to right.
when I did that it comes to second which I entered yet not happening.
 

Attachments

  • IMG_20211005_174823.jpg
    IMG_20211005_174823.jpg
    329 KB · Views: 8

augustya

Member
If anyone can post the exact action with any Music Player that you guys have (Spotify/Apple Music) whatever even that would help. You dont need to necessarily have and show me only on Soundcloud. I will understand this gist of things even if you show me the action ?
 

420

Active member
If anyone can post the exact action with any Music Player that you guys have (Spotify/Apple Music) whatever even that would help. You dont need to necessarily have and show me only on Soundcloud. I will understand this gist of things even if you show me the action ?
From what i can tell your last screenshot already shows the correct action. (Only change it from "contains" to "any", but i believe you've done that)

You are positive that it really is a notification though right? It looks a bit like a widget to me... Also what does the system log say?
 

augustya

Member
From what i can tell your last screenshot already shows the correct action. (Only change it from "contains" to "any", but i believe you've done that)

You are positive that it really is a notification though right? It looks a bit like a widget to me... Also what does the system log say?
It is a notification according to me and not a widget because it only appears when SoundCloud is playing and not otherwise, had it been a widget it would have resided there all the time.

Where do I find the System Log ?
 

420

Active member
It is a notification according to me and not a widget because it only appears when SoundCloud is playing and not otherwise, had it been a widget it would have resided there all the time.

Where do I find the System Log ?
It's one of the tiles in the macrodroid app homescreen.
 

420

Active member
Ok. Here you go...
I am not seeing anything about the notification interaction in those logs, even used the search function to search for "notification" and "interaction" and there were no results.

Could you post a screenshot of your macro? I'm thinking the notification interaction action might be located inside an if clause that does not invoke because the constraint(s) failed?
 

augustya

Member
I am not seeing anything about the notification interaction in those logs, even used the search function to search for "notification" and "interaction" and there were no results.

Could you post a screenshot of your macro? I'm thinking the notification interaction action might be located inside an if clause that does not invoke because the constraint(s) failed?
 

Attachments

  • Screenshot_2021-10-06-16-07-23-757_com.arlosoft.macrodroid.jpg
    Screenshot_2021-10-06-16-07-23-757_com.arlosoft.macrodroid.jpg
    313.7 KB · Views: 13
Top