Did you find this article helpful?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear community,
I was able to use Tasker to start Spotify automatically open and play a playlist on shuffle mode using the code below on my Nexus 7. However, I'd like the app to start in "tile/thumbnail view" instead of the "list view". There is a arrow button in the bottom left corner of the Spotify app which allows me to switch manually between the two modes, but I'd like to know how to use Tasker to automattically switch to the "tile/thumbnail view."
I found this website: Website with Spotify App intents which has a list of the intents. There is one named:
"com.sonymobile.media.dashboard.ACTION_VIEW_MUSIC_TILE"
but I tried using that in Tasker and nothing really happens. Maybe I'm not entering it right into Tasker.
Anyway, here are the steps I used to start Spotify in shuffle mode taken from https://community.spotify.com/t5/Android/Start-shuffled-Playlist-with-Android-Intent/m-p/1268715/hig...
1) Add an Action to Load Spotify 2) Add a Wait (just to be sure the app loads fully) - I have 3 seconds 3) Send an Intent like this: Action: android.media.action.MEDIA_PLAY_FROM_SEARCH Cat: Default Data: spotify:user:<USER ID>:playlist:<PLAYLIST ID>:play Package: com.spotify.music Objective: Activity 4) Add a Wait of 300ms (i use this because the step 3 always plays the first song on the playlist, even though is in shuffle play) 5) Send another intent like this: Action: com.spotify.mobile.android.ui.widget.NEXT Package: com.spotify.music Objective: Broadcast Receiver
Thanks guys!
Solved! Go to Solution.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page