Announcements

Help Wizard

Step 1

NEXT STEP

Android Intent - Add Currently Playing Song to a Specific Playlist

Android Intent - Add Currently Playing Song to a Specific Playlist

Happy Sunday Folks,

 

For Spotify on Android I would like to initiate a tasker task to add the currently playing song to a specific playlist. I will initiate a task via autovoice (Calling out the specific name of the playlist that I want to add the song to, e.g. delete playlist). However I cannot automate opening of the "Add to playlist" screen. Through analysing intents on catlog for opening of the playlist screen I found the intent [com.spotify.music/com.spotify.mobile.android.spotlets.playlist.activity.AddToPlaylistActivity], I have devised the following action in tasker;

 

Add Currently Playing Song To Like Playlist (3)
A1: Launch App [ App:Spotify Data: Exclude From Recent Apps:Off Always Start New Copy:Off ] 
A2: AutoSpotify Player State [ Configuration:Warning: To receive media events from the Spotify app you need to set Device Broadcast Status to ON in the Spotify app’s settings. Package:com.joaomgcd.autospotify Name:AutoSpotify Player State Timeout (Seconds):20 ] 
A3: Send Intent [ Action:com.spotify.music/com.spotify.mobile.android.spotlets.playlist.activity.AddToPlaylistActivity Cat:None Mime Type: Data:spotify:track:3McVJ4pdwNMP4RJtsJAogG Extra: Extra: Extra: Package: Class: Target:Activity ]

 

May I kindly ask if ye would be able to improve this action?

 

Thanks for your help,

Jonathan.

Reply
1 Reply

Hi,

I know it's been a month, but does this command works ? I didn't understand all your post, I'm pretty bad in English 😕 But if you tell me it works, i'll try it 😉

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random