Launch Google Music playlist

5,844 views
Skip to first unread message

Altay Hunter

unread,
Jul 23, 2013, 7:44:38 PM7/23/13
to tas...@googlegroups.com
I'm looking for a way to start playing music from one of my playlists in the Google Music app using Tasker. Previously I've used AppAlarmPro with the following Intent to accomplish this:
#Intent;action=android.intent.action.VIEW;type=vnd.android.cursor.dir/vnd.google.music.playlist;launchFlags=0x4000000;S.playlist=9;end

This intent no longer works with the latest version of Google Music. If anyone knows a way to accomplish this using Tasker (presumably using Send Intent) I would greatly appreciate your help.

Altay Hunter

unread,
Jul 23, 2013, 8:04:53 PM7/23/13
to tas...@googlegroups.com
It seem to be possible to accomplish this via the AutoShortcut plugin. I have that installed, but I haven't noticed any additional options in Tasker since installing it. If someone could point me to a guide on how to accomplish something like this using AutoShortcut that'd be awesome.

Altay Hunter

unread,
Jul 23, 2013, 8:23:00 PM7/23/13
to tas...@googlegroups.com
I found the option. It's under Tasks > Plugin > AutoShortcut. Then it's as simple as picking Music playlist for the configuration.
Unfortunately, as of the new version of the Music app this only selects the playlist; it doesn't actually play it. If I simulate a media button to toggle pause, it starts playing, but not music from the selected playlist. It just plays a random song from my entire library. Any suggestions?

Brandon Horwath

unread,
Jul 23, 2013, 11:30:33 PM7/23/13
to tas...@googlegroups.com
Altay,

What is your default media player?

I use the MUSIC player, included with android since IT DOES NOT get ridiculous updates that suddenly stall my tasker actions.

Most likely, I suspect you're using a downloaded media player. It may not be directly compatible with tasker unfortunately.

What are ya using?

Altay Hunter

unread,
Jul 23, 2013, 11:35:34 PM7/23/13
to tas...@googlegroups.com
I'm using the Google Music app. This change occurred when they rolled out All Access. Unfortunately, I don't think I have any other options if I want to stream my personal library of music from Google's servers.

Brandon Horwath

unread,
Jul 23, 2013, 11:57:14 PM7/23/13
to tas...@googlegroups.com
Well, Google WOULD love for everyone to believe that! :-)

The Google organization is the Nazi's of digital media management. They LOVE to dictate user access to personally owned media.

(Don't believe me? Fine, see what it takes to 'download' paid media from their servers. Totally undocumented and nearly impossible task. In fact, their recommendation to obtain your own personally purchased media is to copy the app cache after a recent play. How ludicrous is that for Google?!?)

I digress... (can you tell I love/HATE Google?)

Basically until Google decides to adapt and play nice with cross-compatibility, this whole process will be hit and miss. We can hammer out a solution that might work in a week, then Google will 'update to enhance user features' and we'll be back at square one... I personally gave up long ago trying to make it work every time they change some little thing.

I stopped buying off Google Music also. I refuse to use the app. I have it force stopped, cache cleared, and uninstalled to minimums. That actually helped a lot of my pre-installed music players function with tasker. It appeared that Google Music was intercepting tasker commands and stalling/blocking them to other more suitable applications.

Sorry to be so definitive about my feelings on this. I'm sure its not the 'solution' you were looking for.

But, if you want some ideas on how to retain user rights control of the media you purchased, I do have MANY ideas for you.

(My background is Audio Video production management, so... yeah.)

Keith Hubbard

unread,
Jan 3, 2014, 6:50:43 PM1/3/14
to tas...@googlegroups.com
Brandon, 

I would sure love your suggestions for other user-rights-friendly-media options that you mentioned here!  I share your love/hate relationship with Google, but haven't found anything as convenient as of yet, so am begrudgingly playing their game... for now.  ;)

Thanks, 

Keith

Brandon Horwath

unread,
Jan 4, 2014, 7:36:08 AM1/4/14
to tas...@googlegroups.com
Gladly :-)

However, this topic diverts from tasker related issues so I'd like to communicate directly via email so forum threads stay tasker relevant.

My profile should show my email contact. Can you send me one directly? That way we can discuss :-)

Thanks!

Keith Hubbard

unread,
Jan 15, 2014, 8:10:24 PM1/15/14
to tas...@googlegroups.com
Brandon, 

I can't find your email...  Suggestions?  

PS
I'm not a google + user really... I'm sure it's staring me in the face.  :)


Keith

Julien Ménager

unread,
Apr 7, 2014, 9:04:18 PM4/7/14
to tas...@googlegroups.com
Any luck with this issue?
I am also looking at launching a specific Google Play Music playlist using Tasker as I'd like to create an alarm clock profile.
I can launch a playlist using AutoShortcut but if I do a Media Play or Next, it will play the last song that was played on the app, not the actual playlist song.

Cheers

Brandon Horwath

unread,
Apr 7, 2014, 11:29:10 PM4/7/14
to tas...@googlegroups.com
Julien,

Try the media utilities plugin. That works really well with Google Play and playlists.

Julien Ménager

unread,
Apr 7, 2014, 11:39:55 PM4/7/14
to tas...@googlegroups.com
Thanks Brandon, I have installed this plugin but I haven't been able to locate an action to play with playlists.
Am I missing anything?

Ju


2014-04-08 11:29 GMT+08:00 Brandon Horwath <brandon...@gmail.com>:
Julien,

Try the media utilities plugin. That works really well with Google Play and playlists.

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/zBwBgESHg7k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.

Brandon Horwath

unread,
Apr 7, 2014, 11:59:02 PM4/7/14
to tas...@googlegroups.com
Oh, sorry...

Autoshortcut should allow you to launch a specific playlist.

Media utilities is more reliable to control within that launched playlist especially in Google Play, and not suddenly switch to another song from a different app.

Altay Hunter

unread,
Apr 8, 2014, 12:14:03 AM4/8/14
to tas...@googlegroups.com
Unfortunately even the combination of Autoshortcut (to launch the playlist) and Media Utilities (to begin playback) is not working for me. The play command merely resumes playback of whatever was last playing, so it opens up the playlist I want to play and then starts playing whatever I was listening to most recently instead. Using smart play makes no difference. Perhaps I'm doing something incorrectly, but the only workaround which currently for me is to revert to Google Music v4.5.914.

Julien Ménager

unread,
Apr 8, 2014, 1:00:09 AM4/8/14
to tas...@googlegroups.com
Yep, I am in the same case, if I use Autoshortcut to launch a playlist it works, the app opens and displays the playlist but if I use any play command, it will resume whatever was in the "listening now"  list.
I am reluctant to revert the Play Music app version as there are some benefits on the new version that I use.
It would be great if we could to replays of macros with Tasker by recording actions and then automatically replay them, not sure if that can be done and it would probably require root ...

Ju


2014-04-08 12:14 GMT+08:00 Altay Hunter <altay...@gmail.com>:
Unfortunately even the combination of Autoshortcut (to launch the playlist) and Media Utilities (to begin playback) is not working for me. The play command merely resumes playback of whatever was last playing, so it opens up the playlist I want to play and then starts playing whatever I was listening to most recently instead. Using smart play makes no difference. Perhaps I'm doing something incorrectly, but the only workaround which currently for me is to revert to Google Music v4.5.914.

--

Marta Hintz

unread,
Apr 8, 2014, 10:43:18 AM4/8/14
to tas...@googlegroups.com
The auto plugin will record for you. It still is in beta. Autoinput
You will need to sign up for it to get the link to it. That may help. It is part of jam God's Plugins.
https://groups.google.com/forum/m/#!forum/joaomgcd

Rory Harnisch

unread,
Apr 8, 2014, 10:49:20 AM4/8/14
to tas...@googlegroups.com
You guys should try my method. It requires root and AutoShare. See the link below from the AutoApps Comm. with the Video to back it up.


Hope this helps!

-Rory

Julien Ménager

unread,
Apr 8, 2014, 8:04:17 PM4/8/14
to tas...@googlegroups.com
Thanks for the link guys, I will check them out.

Ju


--

Rory Harnisch

unread,
Apr 9, 2014, 10:29:16 AM4/9/14
to tas...@googlegroups.com
Great! Let me know what you think. The task queries the playlists from the GPM database using a run shell script and some SQL code. The results is an array of the playlists. I choose to display the playlist array on my Pebble using AutoPebble but you can choose to display them however you like. i.e. in a scene or  in a notification created by AutoNotification (even though you will only be able to see at most 3). Let me know if you need any help or have any questions.

-Rory

Julien Ménager

unread,
Apr 9, 2014, 7:57:46 PM4/9/14
to tas...@googlegroups.com
Hi Rory, I tried the method but I don't really what to do with the xml file and tasker !
This going to be a bit complex for a simple Alarm clock !!
Cheers

Ju

Rory Harnisch

unread,
Apr 9, 2014, 8:18:07 PM4/9/14
to tas...@googlegroups.com
No way. it's not very difficult. Parsing the information from the GPM database is simple with the code I gave you. The hardest part is to tell tasker what to do with it once you've gotten all of them into a variable array! What is your end game?

Julien Ménager

unread,
Apr 9, 2014, 8:26:03 PM4/9/14
to tas...@googlegroups.com
I'm sure it would be easy once I know where to start. All I have is the xml file, how do I "parse de GPM database".
As you probably guessed I am not a coder so if you have a bit more guidance that would much appreciated.

Ju

Rory Harnisch

unread,
Apr 10, 2014, 10:22:20 AM4/10/14
to tas...@googlegroups.com
Don't worry, neither am I a traditional "coder" however it's worth noting that Tasker itself is a programming language and thus makes you a programmer/coder ;). I've just been using tasker for awhile and picked up a few moves along the way.

Make sure you have the latest tasker build and have root access. DL the xml file and open tasker. Tap on of the project tabs at the bottom until you see a menu appear. Select import. Find and select the xml. Then report back for further instruction.

NOTE: You won't be able to run it out of the box because you have to change the code a bit.

-Rory

Julien Ménager

unread,
Apr 10, 2014, 8:35:12 PM4/10/14
to tas...@googlegroups.com
ahhhhh I see :)
I have indeed imported the xml and all appears in Tasker. where do you enter the playlist name of GPM for the search?
I don't be using Pebble as my only condition for the task to run will be a date/time condition (alarm clock), should I remove the Pebble task?

Cheers

Ju

Rory Harnisch

unread,
Apr 11, 2014, 10:37:50 AM4/11/14
to tas...@googlegroups.com
1) Delete the AutoPebble List action. It's only there to display the information
2) Replace it with a flash action using "%playlists()" in the text field. This will test that the variable array %playlists contains the correct information
3) Report back, telling me what the flash action shows you. It should be a comma separated list of all of your GPM playlist titles.

-Rory

Julien Ménager

unread,
Apr 15, 2014, 1:23:56 AM4/15/14
to tas...@googlegroups.com
thanks for the info, I have done 1) and 2) but the flash action does not show me anything.
Do you need to have some specific tools installed to run the system/xbin/sqlite3 command like busybox?
I have a feeling that the command does not run and therefore the variable is empty.
I have granted tasker root access though.

Ju

Rory Harnisch

unread,
Apr 15, 2014, 10:13:50 AM4/15/14
to tas...@googlegroups.com
Ju,

It may be an error with the SQL database, correct. I had this problem at one point and a nice person helped me out. I wish I understood what he did but it was this thread that did it.


His name is @Bob Hansen. Sorry I can't be of any further help with SQL.

Julien Ménager

unread,
Apr 16, 2014, 1:34:01 AM4/16/14
to tas...@googlegroups.com
Thanks Rory,
I checked it with a shell running as root and it appears that I don't have a /system/xbin/sqlite3 binary:
root@hammerhead:/system/xbin # ll | grep sqlite
ll | grep sqlite
root@hammerhead:/system/xbin #

I went ahead and grabbed it from this simple app:

I re-ran the task and now it seems that I get some results :)

The playlist I would like to play is "Réveil" (I can remove the é just in case so it doesn't causes issues).


Thanks again for your help !

Cheers

Ju


--

Rory Harnisch

unread,
Apr 16, 2014, 10:34:47 AM4/16/14
to tas...@googlegroups.com
Perfect! So now find out with element contains the "Réveil" playlist in the variable (looks like it will be "%playlist5"). Now looking back to the tasker project I sent you, Long-click the task associated with the context "GPM Playlists" and name it something. This way it will pull the task into the Tasks tab for use in your alarm task for later. Now open it and It should contain 4 actions within the task starting with AutoShare. Open the AutoShare action and change the query field to the variable array element containing the playlist you want ("%playlist5"). Don't change the other tasks but keep them because they're also necessary. Now the task is ready for you to test. back out of tasker all together. Go back in and run the task we just created. You should now be playing the correct playlist in GPM!

BOOM!

Rory Harnisch

unread,
Apr 22, 2014, 11:10:07 AM4/22/14
to tas...@googlegroups.com
So, did you get your program to work correctly? Share what you have!

-Rory

Julien Ménager

unread,
Apr 22, 2014, 8:55:29 PM4/22/14
to tas...@googlegroups.com
Hi Rory, sorry I haven't had a chance to work on this further.
I think I messed up the whole project in Tasker so I will have to re-import the xml and start fresh !

Ju


2014-04-22 23:10 GMT+08:00 Rory Harnisch <rmhar...@gmail.com>:
So, did you get your program to work correctly? Share what you have!

-Rory

--

Julien Ménager

unread,
May 1, 2014, 1:35:21 AM5/1/14
to tas...@googlegroups.com
Hi Rory,

I tried what you suggested but no matter how I read your information I can't get my head around what to do, must be an English-as-a-second-language thing :)

"Now looking back to the tasker project I sent you, Long-click the task associated with the context "GPM Playlists" and name it something. This way it will pull the task into the Tasks tab for use in your alarm task for later."

I located the AutoShare action in the GPM Playlist task but I can't see any way to input the %playlist5, currently the configuration of the AutoShare action is:
Package: com.google.android.music
Class: com.google.android.music.VoiceActionsActivity
App: Google Play Music
Query: %apcomm

I cannot see where to edit the Query, if I click on the edit icon, I get the share options

I have bought the AutoShare app but not the AutoPebble, do I also need to purchase that one eventhough I have no Pebble?

Thanks !

Ju

philippe Lasfargues

unread,
Oct 19, 2014, 6:47:55 PM10/19/14
to tas...@googlegroups.com
hi Julien sorry for my poor english 'm a poor lonesome frenchie ;) I'm  an happy recently owner 's nexus 5 and try now the nfc task. i've got  same trouble to use tasker/ shortcut / and google playlist so first i download the winamp free app (jetaudio basic) then use in shortcut the icon of this app for playing playlist. But in tasker before this task i use the task kill app jetaudio in this case the playlist start at beggining. It is not really THE solution but it work. Have fun ! If you've got some other simple idea i'm listening (don't want root just to play a playlist :) )bye

Le mercredi 24 juillet 2013 01:44:38 UTC+2, Altay Hunter a écrit :
I'm looking for a way to start playing music from one of my playlists in the Google Music app using Tasker. Previously I've used AppAlarmPro with the following Intent to accomplish this:
#Intent;action=android.intent.action.VIEW;type=vnd.android.cursor.dir/vnd.google.music.playlist;launchFlags=0x4000000;S.playlist=9;end

This intent no longer works with the latest version of Google Music. If anyone knows a way to accomplish this using Tasker (presumably using Send Intent) I would greatly appreciate your help.

Eiko

unread,
Nov 20, 2014, 6:00:12 PM11/20/14
to tas...@googlegroups.com
For anyone still looking for a solution, I just got this working on my phone.

General approach: use tasker's built-in intent action, along with the intents described here, to achieve intended result.

Detailed instructions:

1. create a "Send Intent" action in tasker (under "System" for my version of tasker)
2. Fill in the fields as such:

Action: android.media.action.MEDIA_PLAY_FROM_SEARCH
Cat: Default
<no Mime Type>
<no Data>
Extra: android.intent.extra.focus:vnd.android.cursor.item/playlist
Extra: query:<YOUR_PLAYLIST_NAME_HERE>
<No package>
<No class>
Target: Activity


When I tested this for the first time, it made me select an app to handle it, but after selecting "always use Play Music", it hasn't been a problem since.
This does have the side-effect of opening up google play. I added a wait 3 seconds -> go to home to handle this, but that's probably not necessary.

Julien Ménager

unread,
Nov 20, 2014, 7:50:32 PM11/20/14
to tas...@googlegroups.com

Thanks Eiko for sharing this I have tried your setup and can confirm that it launches the player, however it triggers the "I'm feeling lucky" Playlist, not the one I specified.
My phone is in French, would that be the cause?
My Playlist is named "Reveil".

Cheers
Julien

Le Fri Nov 21 2014 at 07:00:22, Eiko <ravensa...@gmail.com> a écrit :

ari schumer

unread,
Nov 20, 2014, 7:54:34 PM11/20/14
to tas...@googlegroups.com

Eiko

unread,
Nov 20, 2014, 7:59:00 PM11/20/14
to tas...@googlegroups.com

Hmmmmmm...

When the app opens up, does it show a search screen with the text you put into the "query:<PLAYLIST NAME>" Extra field?

Do you have multiple playlists named Reveil or containing the word Reveil in them?

Are there any non-ASCII characters in either the playlist name or the query text?

What version of Google Play are you using?

I don't know enough about what fields would change across languages to give a for-sure answer about that, but intuitively, I'm not seeing anything here that I would expect to be problematic. I'll see if I can reproduce your bug.

Julien Ménager

unread,
Nov 20, 2014, 8:10:56 PM11/20/14
to tas...@googlegroups.com
Thanks Eiko, When I launch it, it doesn't show any search screen with my "Reveil" text, just that rolling dice telling it is launching an automated playlist based on my music.
I have specifically removed the "é" of Réveil to take out of the equation the special characters.
I only have one unique playlist with that name in it.
I have tried to switch the phone to English(US) as well as Tasker but with the same result.
I am running the Google Music app v5.7.1781Q.1595424 which was updated yesterday.

Cheers
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/zBwBgESHg7k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+unsubscribe@googlegroups.com.

Altay Hunter

unread,
Nov 21, 2014, 8:28:58 AM11/21/14
to tas...@googlegroups.com
Thank you so much, Eiko!

Eiko

unread,
Nov 21, 2014, 2:08:18 PM11/21/14
to tas...@googlegroups.com
I'm on 5.7.1781Q.1595424 as well...

I just did a bunch of extra testing, and discovered the following things:

When the "query:Reviel" extra data was missing or malformed, i got the behavior you described (rolls up an "I'm feeling lucky" playlist)
When the "android.intent.extra.focus:vnd.android.cursor.item/playlist" extra was removed, but the "query:Reveil" was still there, it still worked fine for me.
Consider double-checking that you've inputed the query extra data with no typos? It should look exactly like this:
query:Reveil


If that doesn't work, we can compare some more version numbers...
I'm on Android 4.4.2, and have Tasker 4.5u1m.

Would you be willing to attach either an exported copy of your task, or a screenshot of the action details page? Beyond that, I can't think of anything off the top of my head.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Julien Ménager

unread,
Nov 23, 2014, 11:44:50 PM11/23/14
to tas...@googlegroups.com

Hi Eiko,

I figured it out!
I didn't put the "query:"  in front of the extra field...!
I have put the right format query:Reveil now however when I launch the task, I see the string in the search box and it is submitted but as I have Google All Play, it searches an artist "Reveil" instead of the playlist...
Do you have All Play to test this out?
Cheers

Julien Ménager

unread,
Nov 24, 2014, 7:54:26 PM11/24/14
to tas...@googlegroups.com
All right, I have renamed the playlist to something that doesn't exist ("Reveil_playlist"), it now plays this perfectly.
As I am using this task to wake up in the morning, I successfully woke up this morning with it and wasn't late for work ;)

I am now interested in a couple of things to improve the task:
- Set a fixed volume for when the playlist is launched (If I use Google Music during the day with different volume, I'd like a fixed one for when the task run in the morning)
- Launch the playlist in random mode ?

I look at the intent page but couldn't find anything for the volume of media.

Eiko, do you have any idea on how to do this?

Cheers
Julien
To unsubscribe from this group and all its topics, send an email to tasker+unsubscribe@googlegroups.com.

Julien Ménager

unread,
Nov 25, 2014, 3:58:02 AM11/25/14
to tas...@googlegroups.com
I didn't realise that there is a Media Volume task ... I have set this, works great.
Now for the random/shuffle of the playlist and I am done !
Happy wakening

hollywoodfrodo

unread,
Nov 29, 2014, 2:25:57 PM11/29/14
to tas...@googlegroups.com
I can't get this to work for me to save my life.  I used the Tasker Intent instructions.  It opens up Google Play music and conducts a search for my query, but that's it.  It doesn't actually "find" my playlists.  In fact the search results (besides showing artists, album, and track results) only shows results from other people's public playlists.  It does not appear to be searching my personal playlist at all and it doesn't actually PLAY anything.  It just shows the search results.

I really want to be able to automatically start playing any of my Google Music All Access Playlists I've created, so any help would be appreciated!

hollywoodfrodo

unread,
Nov 29, 2014, 2:28:55 PM11/29/14
to tas...@googlegroups.com
BTW - I did try naming my playlist to something no one else would have "Eric's Pentatonix Christmas"  but after doing it just conducted the search and showed "No Results"

hollywoodfrodo

unread,
Nov 30, 2014, 12:50:19 AM11/30/14
to tas...@googlegroups.com
Well, I figured out a much easier way to pull up my playlist using Android Shortcuts and AutoShortcuts Tasker Plugin.  But I still can't figure out a way to make the playlist play.  Any "play" action plays whatever was playing the last time Google Music was open.

Julien Ménager

unread,
Nov 30, 2014, 2:20:54 AM11/30/14
to tas...@googlegroups.com
Do you use the Tasker "send intent" action?
With the action:
android.media.action.MEDIA_PLAY_FROM_SEARCH
And all parameters that Eiko provided before.

Le dim. 30 nov. 2014 13:50, hollywoodfrodo <hollywo...@gmail.com> a écrit :
Well, I figured out a much easier way to pull up my playlist using Android Shortcuts and AutoShortcuts Tasker Plugin.  But I still can't figure out a way to make the playlist play.  Any "play" action plays whatever was playing the last time Google Music was open.

--

hollywoodfrodo

unread,
Dec 1, 2014, 12:12:20 AM12/1/14
to tas...@googlegroups.com
Yep. It opens and searches, but then it starts playing whatever was last playing.  From the research I've done and contacting a few other people who had this figured out before, it's no longer working on recent versions of Google Play Music. :-(

Seems like such a simple thing that Google would have built into their music player and even into Google Now Voice commands...

Julien Ménager

unread,
Dec 1, 2014, 12:16:58 AM12/1/14
to tas...@googlegroups.com
Weird as I am running the latest Google Music app and the query works perfectly.
It will play my dedicated playlist independently of what was played before that.
Le Mon Dec 01 2014 at 13:12:33, hollywoodfrodo <hollywo...@gmail.com> a écrit :
Yep. It opens and searches, but then it starts playing whatever was last playing.  From the research I've done and contacting a few other people who had this figured out before, it's no longer working on recent versions of Google Play Music. :-(

Seems like such a simple thing that Google would have built into their music player and even into Google Now Voice commands...

--

Eiko

unread,
Dec 1, 2014, 3:34:18 PM12/1/14
to tas...@googlegroups.com
I did a bit of research on shuffling and couldn't come up with anything, unfortunately. If i figure it out, I'll let you know.

Tasker should be able to adjust the volume directly, without using intents. Try out Audio->Media Volume.

-Eiko

Eiko

unread,
Dec 1, 2014, 3:37:36 PM12/1/14
to tas...@googlegroups.com
I don't have All Access, so I can't test this, unfortunately. 
From your description, it sounds like All Access playlists won't show up if you do a normal search in Google Play Music. 
If that's the case, this approach won't work; if a playlist can't be found by searching, this approach won't do anything.

I'm not sure why All Access Playlists would be handled differently, but just to double-check, can you try creating a local playlist and see if you have the same problem?

Eiko

Cristian Cocos

unread,
Dec 7, 2014, 6:29:52 PM12/7/14
to tas...@googlegroups.com
Howdy y'all, I have been musing about the same set of issues, and the best I could do is to use PlaylistShortcutActivity, though I have not been able to figure out how to specify the bleedin' playlist, so the playlist has to be specified every time before playback can start. Question is, then, how the heck do you specify the playlist? I tried typing the name of the playlist in the Data field, but that did not work. Please help!

Julien Ménager

unread,
Dec 7, 2014, 8:01:25 PM12/7/14
to tas...@googlegroups.com
Hi Cristian,
As Eiko has described you can use the following intent to start playing a specific playlist, then in your profile, you could use the bluetooth connection status and select your car's bluetooth:

Detailed instructions:

1. create a "Send Intent" action in tasker (under "System" for my version of tasker)
2. Fill in the fields as such:

Action: android.media.action.MEDIA_PLAY_FROM_SEARCH
Cat: Default
<no Mime Type>
<no Data>
Extra: android.intent.extra.focus:vnd.android.cursor.item/playlist
Extra: query:<YOUR_PLAYLIST_NAME_HERE>
<No package>
<No class>
Target: Activity

--

Cristian Cocos

unread,
Dec 8, 2014, 12:35:25 PM12/8/14
to tas...@googlegroups.com

Thank you. I will give this a try. However, my efforts so far have been directed towards taking advantage of the many Play Music launch options(?) -- see attached screenshot -- though so far to no avail. Anybody knows how to use all those "actions" (see screenshot below)?

Adi Ajit

unread,
Dec 24, 2014, 10:08:52 PM12/24/14
to tas...@googlegroups.com
Hey guys thanks for the tips, I was wondering whether there was a way to play a random song in the playlist, building off Eiko's method, Thanks!

Adi Ajit

unread,
Dec 24, 2014, 10:09:37 PM12/24/14
to tas...@googlegroups.com
Did you figure out how to do the random shuffling? 

Cristian Cocos

unread,
Jun 21, 2015, 1:50:14 PM6/21/15
to tas...@googlegroups.com
I wonder if there is any way we could use something similar to do playback of a certain Amazon Music playlist. Any opinions? What is Google-Play-specific in the script below?

hollywoodfrodo

unread,
Jun 22, 2015, 12:01:54 PM6/22/15
to tas...@googlegroups.com
I never got this working for Google Play Music so I wouldn't dare adventure an answer for Amazon Playlist... 

Altay Hunter

unread,
Jul 8, 2015, 9:51:22 AM7/8/15
to tas...@googlegroups.com
Now that radios are a part of Google Music, it's also possible to launch them with an intent, similarly to playlists:
Action: android.media.action.MEDIA_PLAY_FROM_SEARCH
Cat: Default
<no Mime Type>
<no Data>
Extra: android.intent.extra.focus:vnd.android.cursor.item/radio
Extra: query:<YOUR_RADIO_NAME_HERE>

<No package>
<No class>
Target: Activity

This isn't quite the same as being able to shuffle a playlist, but for my purposes is close enough as long as I have network access.

Jose Gato Luis

unread,
Feb 5, 2016, 6:23:40 PM2/5/16
to Tasker
If someone is looking for random play you can use this example without

Extra: query:<YOUR_RADIO_NAME_HERE>

So, you will open Play Music with "Im feeling luck", COOL!!!

          Action: android.media.action.MEDIA_PLAY_FROM_SEARCH
Cat: Default
<no Mime Type>
<no Data>
Extra: android.intent.extra.focus:vnd.android.cursor.item/radio

Logan Fury

unread,
Nov 21, 2016, 1:03:00 PM11/21/16
to Tasker
Hello,

Im trying to create a task to launch any music player and play a single song playlist. I have the latest version of Tasker avail at the present time (11/2016). Im trying to follow the instructions here, but the screen I come to by following create new task button>Event>System>Intent Received has no "Extra" fields in which to place the instructed code. I dont see any other options for Intent under System other than Intent Recieved. Can anyone shed light for a beginner on how to follow these instructions (from a post above from 11/2014) in the newest version of Tasker?

"For anyone still looking for a solution, I just got this working on my phone.

General approach: use tasker's built-in intent action, along with the intents described here, to achieve intended result.

Detailed instructions:

1. create a "Send Intent" action in tasker (under "System" for my version of tasker)
2. Fill in the fields as such:

Action: android.media.action.MEDIA_PLAY_FROM_SEARCH
Cat: Default
<no Mime Type>
<no Data>
Extra: android.intent.extra.focus:vnd.android.cursor.item/playlist
Extra: query:<YOUR_PLAYLIST_NAME_HERE>

<No package>
<No class>
Target: Activity


When I tested this for the first time, it made me select an app to handle it, but after selecting "always use Play Music", it hasn't been a problem since.
This does have the side-effect of opening up google play. I added a wait 3 seconds -> go to home to handle this, but that's probably not necessary."

All I want to do is have Tasker emulate an alarm but play a COMPLETE song, not having it abruptly end before its complete as all alarms do. Can anyone please help?

Altay Hunter

unread,
Nov 21, 2016, 1:08:47 PM11/21/16
to Tasker
You're creating a new profile. Try creating a new task instead, and adding an action.

Logan Fury

unread,
Nov 21, 2016, 1:21:31 PM11/21/16
to tas...@googlegroups.com
Thank you very much Altay, this has got me to the correct screen with all the necessary fields. I completed all the task entries, hit the play button, and got a popup asking what application to use. I selected Music Player, and Always, but instead of playing the song, its now showing me a screen with a search field and the message No search results. Any Idea how this happened? Im working on an unrooted Samsung Galaxy Note 3 running Lollipop OS. Thank you for any help you can give.

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/zBwBgESHg7k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+unsubscribe@googlegroups.com.

Altay Hunter

unread,
Nov 21, 2016, 1:27:01 PM11/21/16
to Tasker
Did you remember to replace the <YOUR_PLAYLIST_NAME_HERE> bit with the name of the playlist you want to launch? What did it search for?
As far as I understand it, this intent will search Google Music for whatever query you enter there, then play the first result.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Logan Fury

unread,
Nov 21, 2016, 1:30:29 PM11/21/16
to tas...@googlegroups.com
yes, I tried with both the angle brackets included and excluded. It seems it took me to Music's search. As soon as I started to type in the song name, the gui of Music appeared showing the song. I launched it, and unbelievably, it stopped at the same spot it always does, even though I know that is a complete and undamaged file. I creating problems faster than solutions lol. Any ideas?

To unsubscribe from this group and all its topics, send an email to tasker+unsubscribe@googlegroups.com.

Altay Hunter

unread,
Nov 21, 2016, 1:38:55 PM11/21/16
to Tasker
It should be without the angle brackets. When you run it, it should search in Google Music for the name of the playlist (not song) you provided, then play the first result.
I don't know what you're talking about with regard to a song stopping where it always does, but it doesn't sound like it has to do with this.

Logan Fury

unread,
Nov 21, 2016, 1:45:21 PM11/21/16
to tas...@googlegroups.com
Currently its running with the angle brackets, Ill remove them immediately. I have created a one-song playlist, and am using the name of playlist not song. The song in question is Samsung's over the horizon from the S3 phone. I heard it on my roommates S3 (I own the note 3) loved it and asked him for a copy. Ive just double checked that copy on my desktop computer and the end is missing from the file >.< Working on redownloading a complete file now and deciding on what to throw at my roommate's vitals when he returns home.

Removing the angle brackets didnt effect any change in the behavior of the task, it still goes to Music's search screen even though I created the playlist in Music itself and have double checked the spelling and case sensitivity. I named my file "OtHS3". is it the lowercase "t" thats causing the issue?

To unsubscribe from this group and all its topics, send an email to tasker+unsubscribe@googlegroups.com.

Logan Fury

unread,
Nov 21, 2016, 2:50:46 PM11/21/16
to tas...@googlegroups.com
Well the net was full of incomplete and audio-glitch laden mp3 downloads, but I found a site with dozens of copies to DL and finally found a full length copy with pristine audio. Whats odd is that when I googled "android alarms stopping music early" I got multiple hits and never imagined my own music file was incomplete. Anyhow Ive replaced the file on my phone, tested a Tasker task incorporating it, and its playing fine. However I would like to have the ability to create full playlists and call them via tasker, eventually using autovoice to make it hands free. But Im still stuck at Samsung Music taking the command to play my playlist and interpreting it as open search page. Are there perhaps any kind of syntax changes or slightly different commands I can try in any of the other parts of the task?

Altay Hunter

unread,
Nov 21, 2016, 2:55:01 PM11/21/16
to Tasker
The intent works with the Google Music app. I don't know anything about the Samsung Music app.

Logan Fury

unread,
Nov 21, 2016, 3:00:04 PM11/21/16
to tas...@googlegroups.com
Ill delete and recreate it and select Google Music if I can get another prompt to choose application. Hopefully I didnt create a problem with the "always" choice I made in last task.

To unsubscribe from this group and all its topics, send an email to tasker+unsubscribe@googlegroups.com.

Altay Hunter

unread,
Nov 21, 2016, 3:03:01 PM11/21/16
to Tasker
To get the prompt back you actually need to go to Settings > Apps > Samsung Music > Open by default > Clear defaults.

Logan Fury

unread,
Nov 21, 2016, 3:34:52 PM11/21/16
to tas...@googlegroups.com
Hi Altay,

The defaults edit was definitely necessary! Changing to google play music made this command start playing google play seamlessly which is a fantastic step forward, thank you very much. It isnt playing the song I placed in the test playlist however, so ill experiment with a playlist name that is more unique. (I believe my playlist name is shared by a music folder name). This is very exciting progress, ill experiment more to get more exact control of whats playing and then go for an AutoVoice profile incorporating the task. Youve been an incredible help and I appreciate how promptly youve responded to me this morning. I'll be sure to check in at this forum the next time I need Tasker coaching. 

Have a great day!

Logan

To unsubscribe from this group and all its topics, send an email to tasker+unsubscribe@googlegroups.com.

Logan Fury

unread,
Nov 21, 2016, 3:38:27 PM11/21/16
to tas...@googlegroups.com
Yes, making a unique playlist name made it perform perfectly. Is there any special rules of syntax in the Extra line if the playlist name has spaces or numerals, or is that just something to avoid entirely?

Karim Younes

unread,
Jan 13, 2017, 2:12:03 PM1/13/17
to Tasker
I wanted to start a playlist in shuffle mode. And for that, I use autoshortcut followed by autoinput to click on the options menu and select shuffle. That actually gets the playlist going in shuffle mode.

BUT, this doesn't work for non-shuffle mode. In other words, if you really want to play your songs in order, then the above intent-based approach is your best bet.

Darlene Hull

unread,
Feb 4, 2017, 7:16:20 AM2/4/17
to Tasker
A couple of years ago I set up this same tasker action to play a morning playlist and it has worked beautifully. Thank you.

Three days ago it stopped working. Instead of playing "Darswake Up" it played a radio playlist called "Dark World" (not quite so pleasant as a wake up!)

When Google brought in its whole streaming thing it screwed up my playlists as mine often shared the same name as their streaming playlists and Google's own playlists took precedence. I thought the same thing was happening so I changed my playlist name to something really obscure so there'd be no confusion.

Didn't work.

After several attempts I discovered the problem.

If your Google Music is in its normal setting (home or music library) a search will often not even bring up your own playlists. So far it has never found my wake up playlist. It occasionally finds one of my other ones.

The only way to guarantee that Google Music will find ONLY your own, specified playlist is if you have it set to Downloaded music only.

Now, if Tasker could be used to set that up (I've tried several thing unsuccessfully...) we'd have this working.

Ideas?

Logan Fury

unread,
Feb 4, 2017, 9:43:12 AM2/4/17
to tas...@googlegroups.com
All my playlist commands set up thru Tasker/Tasker Now have stopped working as well. Google just did an update I assume thats what screwed things up? 

I tried setting Dowloaded only slider but that still didnt work for me. Launching my playlist tasks merely UNsets the slider for that setting.

Logan Fury

unread,
Feb 21, 2017, 12:45:52 AM2/21/17
to Tasker

 
Is anyone working on updating this code to work with whatever changes google recently implemented?

This was a wonderful feature and I bet thousands of Tasker users would love to have it working again! 

Paddy Gouk

unread,
Feb 23, 2017, 8:26:34 AM2/23/17
to Tasker


On Tuesday, February 21, 2017 at 5:45:52 AM UTC, Logan Fury wrote:

 
Is anyone working on updating this code to work with whatever changes google recently implemented?

This was a wonderful feature and I bet thousands of Tasker users would love to have it working again! 

I just tried this for the first time and I have it working just fine.

Although, I'm using a phone stuck on Android 6.0.1 

Logan Fury

unread,
Feb 23, 2017, 8:54:37 AM2/23/17
to tas...@googlegroups.com
This was failing for me on a Note 4 AT&T, unrooted, running lollipop, which was dropped to the pavement and destroyed last week.

Its currently failing on my Note 3 AT&T, rooted, running Kitkat. Later today, my new Note 4 Verizon arrives, which ive already confirmed ill be able to root at Marshmallow.

Ill give this code a test asap on the Marshmallow platform and report what happens.

--

Logan Fury

unread,
Feb 25, 2017, 6:38:19 AM2/25/17
to tas...@googlegroups.com
Well the page for rooting the Note 4 SM-910V 6.0.1 turned out to be bunk, my roommate who is far more technical than I is trying to force root on Marshmallow and has a fallback plan to downgrade to Lollipop to root. (thats a tuesday project im losing my mind waiting for)

Meanwhile ive the unrooted 6.0.1 Note 4 in hand and this code just worked fine to launch my playlist instead of a random station! Again, it seems KitKat is experiencing failures with Tasker.

If I can get this Note 4 with the fingerprint and pulse/heartrate scanners rooted in either Marsh or Lolli (im told Nougat isnt yet rootable) which are necessary to run the scanners and fingerprint lock features, It will become my main phone and ill get all my playlists recreated on it to test for full functionality of this code on that platform.

In the interim, is anyone else here using Kitkat platform that has the coding knowledge to work some edits and see if this code can be reworked to function on Kitkat again? There must still be a considerable number of endusers with this older OS that would love this code working on their older platforms again :D

 I dont quite understand why Kitkat is the culprit when this code stopped working immediately following a Google Play Music update, but whats life without mystery?

Logan Fury

unread,
Feb 25, 2017, 6:40:08 AM2/25/17
to tas...@googlegroups.com
Just noticed, this code is STILL toggling the "Downloaded only" option when fired, but it is opening playlists properly.

Is there an extra piece of code we can implement to prevent this toggling side-effect?

Logan Fury

unread,
Feb 26, 2017, 6:44:31 AM2/26/17
to tas...@googlegroups.com
Good Morning,

The Marshmallow phone that was running this script fine, has been downgraded to 5.1.1 Lollipop to enable rooting. This has the script failing just as it does for me on my Kitkat platform. It seems this code is working 6.0.1 ONLY.

Can anyone talented please announce intention of making a pre 6.0.1 version of this code if youve time!

Paddy Gouk

unread,
Mar 1, 2017, 5:03:28 AM3/1/17
to Tasker


Annoyingly this has now stopped working for me....

I think it has to do with how Google Play Music (GPM) handles the searches. When I have my phone set to "Downloaded only" and then search manually, it will come up with my playlist. If I run the same search but with the "Downloaded Only" toggle switched off, it will search public playlists and won't find my personal playlists....

So rather than the break being related to an android version, I think it is related to the GPM app and the way it now performs searches within the latest version.

Logan Fury

unread,
Mar 1, 2017, 5:08:10 AM3/1/17
to tas...@googlegroups.com
Paddy, when you run this script, do you note that it resets your "Downloaded only" section to OFF, or is this not happening to you as well?

--

Paddy Gouk

unread,
Mar 1, 2017, 7:09:17 AM3/1/17
to Tasker
Yeap it does turn the "downloaded only" toggle to off.

I think all the problems could be solved by being able to control this toggle and not have it switch to OFF when using this intent.

On Wednesday, March 1, 2017 at 10:08:10 AM UTC, Logan Fury wrote:
Paddy, when you run this script, do you note that it resets your "Downloaded only" section to OFF, or is this not happening to you as well?
On Wed, Mar 1, 2017 at 2:03 AM, Paddy Gouk <paddy...@gmail.com> wrote:


Annoyingly this has now stopped working for me....

I think it has to do with how Google Play Music (GPM) handles the searches. When I have my phone set to "Downloaded only" and then search manually, it will come up with my playlist. If I run the same search but with the "Downloaded Only" toggle switched off, it will search public playlists and won't find my personal playlists....

So rather than the break being related to an android version, I think it is related to the GPM app and the way it now performs searches within the latest version.

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/zBwBgESHg7k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Logan Fury

unread,
Mar 1, 2017, 8:27:14 AM3/1/17
to tas...@googlegroups.com
So you had the toggle manually set to Download Only, fired a playlist command, it worked, but toggled the Download Only to off and then your second playlist command failed?

To unsubscribe from this group and all its topics, send an email to tasker+unsubscribe@googlegroups.com.

Paddy Gouk

unread,
Mar 1, 2017, 8:57:20 AM3/1/17
to Tasker
The following procedure works, but involves manual intervention (not cool) but proves that it is all down to the downloaded only toggle.

Open the Play App
Toggle Downloaded Only to ON
Open the Overview and Swipe away the app
Fire the Tasker Task for a Playlist
At this point the playlist plays successfully
Toggle Downloaded Only to ON (since the intent toggled it to OFF)
Fire a Different Playlist Task
At this point the playlist plays successfully


Also, you can see how this works manually by toggling Downloaded Only to ON - then using the search bar to try and find your playlist, you should see your playlist. If you toggle it to OFF, you probably won't see it, you will likely see the public radios etc. The given intent works through this search bar.

This is basically all down to Google's objective of getting everyone to use their streaming services rather than their own purchased music.....

Logan Fury

unread,
Mar 3, 2017, 3:08:11 AM3/3/17
to tas...@googlegroups.com
On a rooted device, its possible to automate toggling Download only back on with input tap and input keyevent.

I just made a small test task:

PlayMusic toggle (201)
A1: Launch App [ App:Play Music Data: Exclude From Recent Apps:Off Always Start New Copy:Off ] 
A2: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ] 
A3: Run Shell [ Command:input tap 135 270
input tap 1155 2295
input keyevent 4 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]

whats happening there is tap is opening the menu, tap over the right side of the slider to toggle Downloaded Only back on, and keyevent that clicks back button to close the menu.

Adding actions 2 and 3 to the end of your Open PlayMusic/Start Playlist Task on a rooted device, and editing the input tap coordinates to match your personal phones screen should completely automate everything and make the script able to fire back to back without touching the toggle slider manually whenever you want to start a new playlist.

Id appreciate if some rooted users could test this, im still awaiting my own Marshmallow platform to root, in the snail mail.

I hope this helps and works for as many users of this thread's script as possible.

Enjoy.

To unsubscribe from this group and all its topics, send an email to tasker+unsubscribe@googlegroups.com.

Logan Fury

unread,
Mar 6, 2017, 2:59:08 AM3/6/17
to tas...@googlegroups.com
I just discovered OK Google is handling this and we dont have to rely on Tasker. Simply have a playlist eg: paul simon playlist, then command the phone "OK Google, load paul simon playlist" application chooser may pop up, select Google Play and it gets set as default, and then every time you use that syntax with any pre-created playlist, it loads and plays, regardless of the position of the "Downloaded Only" toggle, and it does play YOUR playlist, not something random grabbed from the ether.

Ive just triple checked that this is working, with downloaded only OFF, (if its of any relevance) with playlists in all lowercase letter names, on both my rooted Note 4 SM-N910V Lollipop 5.1.1, and my rooted Note 3 SM-N900A KitKat 4.4.2

In fact when I created an alan parsons playlist on my Note 3 and said "OK Google load alan parsons playlist" not only did the Note 3 open my playlist seamlessly, but the Note 4 overheard, and also opened up PlayMusic and started playing MY local alan parsons project songs - even though I had no playlist for that band yet created on the new Note 4.

Im going to get some music on my unrooted Note 4 Marshmallow 6.0.1 asap and test. ATM its stuck on a recovery screen and Im waiting for my roommate to come out of his drunken stupor and answer a .tar flashing question >.< depending on what he has to say, I may leave it unrooted for another day or so and do some quick experiments with this Tasker script and direct OK Google commands on that platform. It will soon be a rooted 6.0.1 for me to start a new series of tests on if all goes well.

Logan

Paddy Gouk

unread,
Mar 13, 2017, 8:14:02 AM3/13/17
to Tasker
Ah right, so its OK Google handling the search. Is there a way of having Tasker send the intent through OK Google to get the same result? Or even fake a voice command? I'd be up for recording the command for each playlist....

I'm very interested in getting this down as a task within Tasker so that I can launch playlists with my Pebble in addition to other actions. One example usage case is when I start cycling I want to hit two buttons on my Pebble to start Strava, set the volume that is good for my sports headset, launch the playlist and set a profile on my phone. So the last bit I need is this as a task within tasker....

Logan Fury

unread,
Mar 13, 2017, 8:21:13 AM3/13/17
to tas...@googlegroups.com
When this was working before that google update, I used Mr. Marco Stornelli's amazing Tasker plugin app Tasker Now.

This lets you setup voice with an initial "OK Google" command, then you can say anything youve  programed Tasker Now to listen for, it intercepts the command from OK Google and sends it to Tasker. Its used in your Tasker Profiles and it's very intuitive. Anyone into voice automation couldn't ask for anything better.

avail free in the PlayStore.

To unsubscribe from this group and all its topics, send an email to tasker+unsubscribe@googlegroups.com.
Message has been deleted

Paddy

unread,
Apr 10, 2017, 9:01:15 AM4/10/17
to Tasker
I have cracked this (at least for me) with the most annoyingly simple thing ever............... Speech marks around the name of the playlist. So far I haven't had a problem.

It does still toggle the Downloaded Only to off - but that doesn't bother me since all my playlists are downloaded.

This is on an unrooted original ROM Sony Xperia Z3 on Android 6.0.1.



Action: android.media.action.MEDIA_PLAY_FROM_SEARCH
Cat: Default
<no Mime Type>
<no Data>
Extra: android.intent.extra.focus:vnd.android.cursor.item/playlist
Extra: query:"<YOUR_PLAYLIST_NAME_HERE>"

<No package>
<No class>
Target: Activity

Logan Fury

unread,
Apr 10, 2017, 9:04:24 AM4/10/17
to tas...@googlegroups.com
So in the second Extra field you did:

query:"playlist name"

is that right?

To unsubscribe from this group and all its topics, send an email to tasker+unsubscribe@googlegroups.com.

Paddy

unread,
Apr 11, 2017, 5:48:09 AM4/11/17
to Tasker
Yeap. So to use an example of starting my playlist called Cycling. Literally the only difference is the quotation marks.

This one works:

Action: android.media.action.MEDIA_PLAY_FROM_SEARCH
Cat: Default
<no Mime Type>
<no Data>
Extra: android.intent.extra.focus:vnd.android.cursor.item/playlist
Extra: query:"Cycling"
<No package>
<No class>
Target: Activity

This one does not and will sometimes work fine and sometimes play a radio station depending on the original state of the Downloaded Only toggle.

Action: android.media.action.MEDIA_PLAY_FROM_SEARCH
Cat: Default
<no Mime Type>
<no Data>
Extra: android.intent.extra.focus:vnd.android.cursor.item/playlist
Extra: query:Cycling
<No package>
<No class>
Target: Activity

Logan Fury

unread,
Apr 11, 2017, 10:28:00 AM4/11/17
to tas...@googlegroups.com
What platform were you on Paddy? I tested this on my 5.1.1 Lollipop and the quotation marks didnt give the script functionality.

To unsubscribe from this group and all its topics, send an email to tasker+unsubscribe@googlegroups.com.

Paddy

unread,
Apr 12, 2017, 9:26:08 AM4/12/17
to Tasker
I'm on:
Sony Xperia Z3 Compact Stock ROM Android 6.0.1 Marshmallow.

No root, no nothing - the most I've got is Dev Options enabled :P

Thats a bummer, hopefully it works in Nougat but I don't have access to such a phone to test. I'm holding out for a the Moto Z2.

Dzinja Kabambe

unread,
Jun 14, 2017, 3:02:01 AM6/14/17
to Tasker
Works perfectly on Lineage 14.1 (Android 7.1.2) with latest Play Music (7.8) on a Samsung S5+ so I see no reason it shouldn't on the Z2 when it arrives.

On Wednesday, 12 April 2017 14:26:08 UTC+1, Paddy wrote:
I'm on:

sww...@gmail.com

unread,
Dec 17, 2017, 2:39:06 PM12/17/17
to Tasker
FYI, I just tried this on my android smart tv media box using android 7.0 and it worked fine.  The only problem I encountered was after setting up to playlist tasks, I put them in a profile and it completely failed.  so leave them as tasks would be my recommendation.  I am using SAIY voice recognition software with the box. Hit and miss on the wake up command but works fine when I click on it to initiate a command.

On Tuesday, July 23, 2013 at 6:44:38 PM UTC-5, Altay Hunter wrote:
I'm looking for a way to start playing music from one of my playlists in the Google Music app using Tasker. Previously I've used AppAlarmPro with the following Intent to accomplish this:
#Intent;action=android.intent.action.VIEW;type=vnd.android.cursor.dir/vnd.google.music.playlist;launchFlags=0x4000000;S.playlist=9;end

This intent no longer works with the latest version of Google Music. If anyone knows a way to accomplish this using Tasker (presumably using Send Intent) I would greatly appreciate your help.

Robbie D'Angelo

unread,
Dec 20, 2017, 6:27:48 PM12/20/17
to Tasker
This requires Termux to be installed (and possibly Termux API), but if you have the shareable link to the playlist, this intent works on Android 7.1.2 for me:

am broadcast --user 0 -a android.intent.action.VIEW -n com.termux/com.termux.app.TermuxOpenReceiver -d 'put.shareable.link.to.your.playlist.here'

Termux and Termux API are free through the Fdroid repos.

If you want to specify the playlist by name, then you can use the unofficial google music api to do a query for the share id of the playlist, which can then be used to construct the shareable link: https://unofficial-google-music-api.readthedocs.io/en/latest/#

You may have to make the playlist public.

It's a little roundabout, but it works.

It is loading more messages.
0 new messages