hansgruber Posted May 24, 2016 Share Posted May 24, 2016 I asked elsewhere but think it may be in the wrong forum as no response. Does anyone know how to select a playlist using a tasker intent? I can start and stop Poweramp, but not select a specific playlist. Link to comment Share on other sites More sharing options...
flyingdutchman Posted July 21, 2016 Share Posted July 21, 2016 hans perhaps this gives you some ideas. It launches Poweramp playlists Link to comment Share on other sites More sharing options...
Koumal Posted August 27, 2016 Share Posted August 27, 2016 Hans, Do you find the way to launch Poweramp playlist from tasker ? Thanks. Link to comment Share on other sites More sharing options...
flyingdutchman Posted August 27, 2016 Share Posted August 27, 2016 I do not use Tasker but posted the java code (in the link above) that does launch Pa and plays a playlist. Perhaps you get some clues from it. Link to comment Share on other sites More sharing options...
Rabangus Posted September 16, 2017 Share Posted September 16, 2017 On 27/08/2016 at 10:45 AM, Koumal said: Hans, Do you find the way to launch Poweramp playlist from tasker ? Thanks. Hi, I've found a way to interrogate the current playlist in Poweramp V3 (through Tasker), and then if it needs changing send an intent (through Tasker) to change it. If anyone is still interested in how to do it let me know and I'll post the actions... Regards Rowan Link to comment Share on other sites More sharing options...
1290GT Posted January 7, 2018 Share Posted January 7, 2018 I can get playlists to run, but it stays in the playlist. Do you know how to bring it back to the player view after the playlist is selected? Link to comment Share on other sites More sharing options...
Alpha_DE Posted February 15, 2018 Share Posted February 15, 2018 I'd like to come back to this topic... I installed and registered Poweramp especially for being able to start it with a designated playlist and I want it to play from the beginning of the playlist. Unfortunately, all the examples did not really help me. I checked the command reference in the java api, I tried to use these examples. I have only one playlist which was created with Poweramp. Regardless what combination of ending parameters in content://com.maxmpz.audioplayer.data/playlists I use with command 20, I get random results. Rarely it starts or resumes the playlist or it plays anything else. I tried /0 /1 /1/files /1/files/0 /1/files/1 all without success. Which content parameter do I need to start a specific playlist created with Poweramp with the first title of the playlist? Link to comment Share on other sites More sharing options...
papete Posted October 5, 2018 Share Posted October 5, 2018 On 9/16/2017 at 4:22 PM, Rabangus said: Hi, I've found a way to interrogate the current playlist in Poweramp V3 (through Tasker), and then if it needs changing send an intent (through Tasker) to change it. If anyone is still interested in how to do it let me know and I'll post the actions... Regards Rowan I'm interested in this Rowan. Could you post the actions to achieve this? Regards, Manuel Link to comment Share on other sites More sharing options...
Rabangus Posted October 6, 2018 Share Posted October 6, 2018 12 hours ago, papete said: I'm interested in this Rowan. Could you post the actions to achieve this? Regards, Manuel Hi Manuel, unfortunately in the last few builds the track info exposed through intents has changed. I've had a thorough look through the Api and as far as I can find it's now no longer possible to identify the currently playing playlist. Real shame because to do anything really useful you need to know the playlist you're dealing with... I did raise this in the below thread, but unfortunately didn't get a response that gave any answers. Link to comment Share on other sites More sharing options...
Rabangus Posted October 6, 2018 Share Posted October 6, 2018 Should probably add, that to change currently playing playlist using Tasker you need to create a 'Send Intent' action with the following: Action: com.maxmpz.audioplayer.API_COMMAND Cat: None Data:content://com.maxmpz.audioplayer.data/playlists/%plist/files Extra: cmd:20 Target: Service Everything else blank. Where %plist is a variable that contains the numeric index of the playlist that you want to select. Unfortunately since the recent changes you are probably looking at finding that through trial and error. They are numbered from 1 though, in the order in which they were created. Link to comment Share on other sites More sharing options...
papete Posted October 6, 2018 Share Posted October 6, 2018 14 hours ago, Rabangus said: Should probably add, that to change currently playing playlist using Tasker you need to create a 'Send Intent' action with the following: Action: com.maxmpz.audioplayer.API_COMMAND Cat: None Data:content://com.maxmpz.audioplayer.data/playlists/%plist/files Extra: cmd:20 Target: Service Everything else blank. Where %plist is a variable that contains the numeric index of the playlist that you want to select. Unfortunately since the recent changes you are probably looking at finding that through trial and error. They are numbered from 1 though, in the order in which they were created. Thanks Rowan! Works like a charm. It would have been useful to get the currently playing playlist info, but this works for my needs. Thanks again! Link to comment Share on other sites More sharing options...
papete Posted November 6, 2018 Share Posted November 6, 2018 On 10/6/2018 at 9:57 AM, Rabangus said: Should probably add, that to change currently playing playlist using Tasker you need to create a 'Send Intent' action with the following: Action: com.maxmpz.audioplayer.API_COMMAND Cat: None Data:content://com.maxmpz.audioplayer.data/playlists/%plist/files Extra: cmd:20 Target: Service Everything else blank. Where %plist is a variable that contains the numeric index of the playlist that you want to select. Unfortunately since the recent changes you are probably looking at finding that through trial and error. They are numbered from 1 though, in the order in which they were created. Rowan, is this working for you? Since 805 (I think) it is not working for me... Link to comment Share on other sites More sharing options...
Rabangus Posted November 7, 2018 Share Posted November 7, 2018 23 hours ago, papete said: Rowan, is this working for you? Since 805 (I think) it is not working for me... Hi, yes, still working for me on 805 Link to comment Share on other sites More sharing options...
papete Posted November 7, 2018 Share Posted November 7, 2018 11 minutes ago, Rabangus said: Hi, yes, still working for me on 805 Thanks, I thought the upgrade broke something... I don't know why but the upgrade moved my playlist numbers... Found them and working again Link to comment Share on other sites More sharing options...
LGK Posted February 5, 2019 Share Posted February 5, 2019 Guys I read though several posting on this topic. I have 5 playlists. Now, when I use Data:content://com.maxmpz.audioplayer.data/playlists/1 and cmd:20 it plays the first playlist if I change it to Data:content://com.maxmpz.audioplayer.data/playlists/2 (for second playlist) it does not play the second one, it plays the first. Is there an easy way to pick playlists? Or is that gone with the update? Link to comment Share on other sites More sharing options...
flyingdutchman Posted February 5, 2019 Share Posted February 5, 2019 playlist keys get generated sequentially but if you for instance delete one, the sequential numbering continues so you will get gaps. Perhaps I can add something to my app New Playlist Manager to list Poweramp playlist keys with its playlist name I have added the key to show between parenthesis Link to comment Share on other sites More sharing options...
LGK Posted February 5, 2019 Share Posted February 5, 2019 Wow did not know that, thanks Flyingdutchman! Very nice of you to alter your app so we can use it as a tool! Link to comment Share on other sites More sharing options...
flyingdutchman Posted February 5, 2019 Share Posted February 5, 2019 16 hours ago, LGK said: Wow did not know that, thanks Flyingdutchman! Very nice of you to alter your app so we can use it as a tool! furthermore, I have previously added tasker functionality so you can automate backups and restores of your ratings and automate tag updates http://www.theo.klinkweb.nl/tasker.html ps let me know if it worked Link to comment Share on other sites More sharing options...
jimieo Posted March 8, 2019 Share Posted March 8, 2019 I am having the same issues with selecting a playlist. content://com.maxmpz.audioplayer.data/playlists/1 I've been trying to get tasker to play three playlists on shuffle/random at different times. I've tried using the #s of the playlist (even confirmed that with flyingdutchman's app that I'm using the correct #s) but it's not playing the correct playlist. I don't know if there's a simpler way to do it so far, but this is what I've been using:Shuffle intent:Action: com.maxmpz.audioplayer.API_COMMANDData: content://com.maxmpz.audioplayer.data/playlists/1Extra: cmd:9Play intent:Action: com.maxmpz.audioplayer.API_COMMANDData: content://com.maxmpz.audioplayer.data/playlists/1Extra: cmd:20 Sometimes it shuffles, sometimes it doesn't. So I'm pretty lost with this. Hell, I'd be happy if I could simply get it to shuffle a specific folder instead of a playlist. That'd save me time from having to update it each time I add music. Link to comment Share on other sites More sharing options...
flyingdutchman Posted March 8, 2019 Share Posted March 8, 2019 when the wrong playlist plays, did you cross check the id and name with my app? Link to comment Share on other sites More sharing options...
jimieo Posted March 8, 2019 Share Posted March 8, 2019 Yep the correct playlist I'd # was showing. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.