Android Bluetooth autoplay

unread,
Nov 7, 2017, 3:47:46 AM11/7/17
to Automate
Hello,

I transitioned from Tasker to Automate and love the easier to use interface. There's one task I'm having an issue trying to duplicate, however.

I automatically connect to bluetooth in the car, but I often don't want to play any music or podcasts. However, Android (in this case 7.0 on my Samsung Galaxy S8+) automatically starts playing either my podcast app (Stitcher) or Spotify, whichever was playing last, when I connect to bluetooth. I want to prevent this behavior.

I used this how-to to setup Tasker to prevent this and it worked well:

https://www.xda-developers.com/how-to-disable-bluetooth-automatic-playback-on-any-android-phone/

Can this be done with Automate? I can detect a bluetooth device is connected, but I'm not sure how to grab the media button key event.

Or if there's another way to do it with Automate, I'd be interested in that as well.

Thanks,