"Play" command for Spotify

1,015 views
Skip to first unread message

evi...@gmail.com

unread,
Sep 23, 2014, 12:20:07 PM9/23/14
to automa...@googlegroups.com
I've been trying to set up a few flows for my music usage and I like to use Spotify as my player.  Is there a way to use Automate to send a Play command to Spotify?  I've tried the Audio Player control with the "Play" command, but that starts up Google Play Music.  I've also tried messing with selecting the Spotify "receivers" and haven't had much luck.

Has anybody else been able to get this to work?

Viggo Jorgen

unread,
Sep 23, 2014, 12:25:43 PM9/23/14
to automa...@googlegroups.com
Try Media Utilities from play store. It worked for me with Tasker, should with Automate too

evi...@gmail.com

unread,
Sep 23, 2014, 12:43:32 PM9/23/14
to automa...@googlegroups.com
What do I do in Automate to get this Media Utilities program to launch and play music in Spotify?

Viggo Jorgen

unread,
Sep 23, 2014, 12:48:44 PM9/23/14
to automa...@googlegroups.com
After installing MU it works as plugin, just link whatever action from Automate to it (media play pause in plugin configuration) and it should work. Just make sure that in MU app Spotify is recognized as possible signal receiver.

evi...@gmail.com

unread,
Sep 23, 2014, 1:03:37 PM9/23/14
to automa...@googlegroups.com
Ahh ok.  Got it.  Thanks!

Automate developer

unread,
Sep 23, 2014, 2:38:30 PM9/23/14
to automa...@googlegroups.com, evi...@gmail.com
Have you selected Spotify as the receiver for the command?
Set method to "Fake media button", then tap the "Pick receiver..." button and select the Spotify / ...internal.receiver.MediaButtonReceiver.

evi...@gmail.com

unread,
Sep 23, 2014, 2:56:26 PM9/23/14
to automa...@googlegroups.com, evi...@gmail.com
I'm glad you replied because I took a second look at how I was trying it.  I noticed this only worked if Spotify was already running in the background.  However, adding in a 3 second delay between the Start App - Spotify command and the Audio Player Control - Play command got it to work reliably.  I guess it was sending the play command before Spotify fully opened.

Thanks!
Reply all
Reply to author
Forward
Message has been deleted
0 new messages