In Tasker, there is a Media Control action which allows me to move to the next song however it only seems to work for the default Android player.
Is it there a way to hook Spotify up to do this?
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.Sign up to join this community
Yes it is possible, but using Tasker's built in Media Control Next will not work.
For the action you need to use Script --> Run Shell, and as the command enter "input keyevent 87" without quotes. This is the Android API:
The link says how to get tasker to make spotify play:
Getting Spotify to play.
- Click the “+” icon at the bottom.
- Select the “System” category.
- Select “Sent Intent”
- Set these fields:
- Action: com.spotify.mobile.android.ui.widget.PLAY
- Cat: None
- Package: com.spotify.music
- Target: Broadcast Reciever
Manifest.xml I can see that there is also a
com.spotify.mobile.android.ui.widget.NEXT action so I would guess that if you used that instead of
com.spotify.mobile.android.ui.widget.PLAY then it would play the next track.
Don't ask me how, but this worked for me:
Maybe... WaveControl says it can control Spotify and has Tasker integration. I'm not a Spotify user, though, and it's much too late to check it out right now.
Mybe this can help you :