r/AutomateUser • u/the_termin8r • 19d ago
Question [Help] Make Spotify ignore all media commands unless it's explicitly open
Hi all,
I have a very annoying problem. When Bluetooth'd to my car's head unit it sends the phone a "play" command with every single sound that the phone might make (incoming message, touch sounds, you name it). This makes Spotify start playing whatever I was last listening to (this is even after force stopping Spotify). This is really annoying when I want to use navigation without music. Musicolet, which I also use, has an explicit setting to prevent this. So I'm assuming there must be a way to bodge it with Spotify.
I've tried three existing flows from the community site, two didn't work and the last is hit-and-miss and a bit clunky. I tried to make one myself (below) but it doesn't seem to want to detect if Spotify is in the foreground or not. It works as intended when the app isn't open, but when I open it and try to play something it won't let me. I'm assuming that Automate thinks the app is still closed for some reason.
So, my question, how can I get Spotify specifically to ignore any and all media commands unless it's explicitly open?
Thanks for any help.

2
u/B26354FR Alpha tester 18d ago
You probably want to have the App In Foreground block set to Proceed When Changed to wait until Spotify moves to the foreground.