Macro to Stop Music Playing from APP even after Closing ?

420

Active member
That macro (SoundCloud Closed) is not mentioned in the logs at all, i'm only seeing one named just SoundCloud and it has different actions..

So it seems that the macro never invokes.. What was the last time it activated? You can also check the macro specific log by opening the macro and clicking the 3 dots on the top right and selecting "Show log".

Also, have you tried manually testing the action (while the soundcloud notification is present)? Does anything happen?
 

augustya

Member
That macro (SoundCloud Closed) is not mentioned in the logs at all, i'm only seeing one named just SoundCloud and it has different actions..

So it seems that the macro never invokes.. What was the last time it activated? You can also check the macro specific log by opening the macro and clicking the 3 dots on the top right and selecting "Show log".

Also, have you tried manually testing the action (while the soundcloud notification is present)? Does anything happen?
Ok this is interesting when I run the macro manually which is by clicking on Test Macro while the APP is playing. It does work. What does that mean now ?
 

augustya

Member
That macro (SoundCloud Closed) is not mentioned in the logs at all, i'm only seeing one named just SoundCloud and it has different actions..

So it seems that the macro never invokes.. What was the last time it activated? You can also check the macro specific log by opening the macro and clicking the 3 dots on the top right and selecting "Show log".

Also, have you tried manually testing the action (while the soundcloud notification is present)? Does anything happen?

But when I close the app by force quitting, it still keeps playing. And the Macro does not kick in !!
 

420

Active member
But when I close the app by force quitting, it still keeps playing. And the Macro does not kick in !!
Because that is not what macrodroid considers closed.

If you long press on an trigger/action/constraint it will show you a pop-up with some information. For the app launched/closed trigger it says this;

This trigger will fire when an application becomes the foreground application (launched) or when it is no longer the foreground app (closed)
 

augustya

Member
Because that is not what macrodroid considers closed.

If you long press on an trigger/action/constraint it will show you a pop-up with some information. For the app launched/closed trigger it says this;

This trigger will fire when an application becomes the foreground application (launched) or when it is no longer the foreground app (closed)
So what are you suggesting me to do ? What should i do ?
 

420

Active member
So what are you suggesting me to do ? What should i do ?
Well not force quit, if you are manually doing that everytime you might aswell just press the pause button on the notification yourself..

How were you closing it before trying force quit?
 

augustya

Member
Well not force quit, if you are manually doing that everytime you might aswell just press the pause button on the notification yourself..

How were you closing it before trying force quit?
Yes manually stopping. So are we saying that a Macrodroid Macro will not be able to do that ?
 

420

Active member
When Force Quit SoundCloud, Music Stops.
I don't think there is a trigger for that, so no macrodroid cannot do that.

I also assume that when you force quit soundcloud the notification dissapears, so the notification interaction method would not work anyway.

Why are you force quitting the app in the first place? Is it only in an attempt to get it to stop playing music? If so, why don't you just press the pause button on the notification or swipe away/close/delete the notification? Would that not be easier?
 

Jacob L

Moderator (Lawsonator)
I don't think there is a trigger for that, so no macrodroid cannot do that.

I also assume that when you force quit soundcloud the notification dissapears, so the notification interaction method would not work anyway.

Why are you force quitting the app in the first place? Is it only in an attempt to get it to stop playing music? If so, why don't you just press the pause button on the notification or swipe away/close/delete the notification? Would that not be easier?
You can use Logcat trigger for detecting force stop. In the store, there is an example. I called it App force stop trigger
 

augustya

Member
I don't think there is a trigger for that, so no macrodroid cannot do that.

I also assume that when you force quit soundcloud the notification dissapears, so the notification interaction method would not work anyway.

Why are you force quitting the app in the first place? Is it only in an attempt to get it to stop playing music? If so, why don't you just press the pause button on the notification or swipe away/close/delete the notification? Would that not be easier?

No that is the funny part in my phone even when I force Quit the APP which is soundcloud in this case, the notification is still there and the music still keeps playing.

Because strangely i also have Spotify and Apple Music and when I force Quit that. They stop playing.
 

Jacob L

Moderator (Lawsonator)
And then use the same macro that I created can you write the Macro for me :)
You just copy the trigger from mine into yours. I'm happy to build on what you have. I'm a little confused as to what you're after because I've dipped in and out of this and work.
 

augustya

Member
You just copy the trigger from mine into yours. I'm happy to build on what you have. I'm a little confused as to what you're after because I've dipped in and out of this and work.
is this what you are telling me ? I am surprised bejy everyone is asking me the same questions as in what I am looking for. What I am looking for is when I Force stop Soundcloud the Music should stop playing. Which at the moment is not.

I found this home in the store.
 

Attachments

  • Screenshot_2021-10-07-00-09-31-737_com.arlosoft.macrodroid.jpg
    Screenshot_2021-10-07-00-09-31-737_com.arlosoft.macrodroid.jpg
    397.8 KB · Views: 7

augustya

Member
You just copy the trigger from mine into yours. I'm happy to build on what you have. I'm a little confused as to what you're after because I've dipped in and out of this and work.
Does this look ok to you ?
 

Attachments

  • Screenshot_2021-10-07-00-39-58-259_com.arlosoft.macrodroid.jpg
    Screenshot_2021-10-07-00-39-58-259_com.arlosoft.macrodroid.jpg
    467.1 KB · Views: 5

augustya

Member
But it is giving the error of logcat_line
 

Attachments

  • Screenshot_2021-10-07-00-40-17-523_com.arlosoft.macrodroid.jpg
    Screenshot_2021-10-07-00-40-17-523_com.arlosoft.macrodroid.jpg
    476.2 KB · Views: 5
Top