• Announcements

    • andrewilley

      Poweramp v3 Project Update   04/24/2017

      As you may be aware, the Poweramp developer has been working hard on an updated material design user interface for Poweramp v3 which required a full ground-up rebuild of the code and is taking some time to get to a beta-test stage. See the forum thread for more details and to discuss.    
Moonrakerone

Using Intents/Tasker to play a specific artist

6 posts in this topic

Hello! I have sort of an ambitious project, and I'm a bit stumped.


 


I have a tasker variable, %ARTIST, set that just constantly updates the currently playing artist. I would like to be able to have a task which simply plays all of that artist's music on my phone.


 


I've hit a wall at sending the command to tasker. Using the following: 


 


Action : android.media.action.MEDIA_PLAY_FROM_SEARCH


Extra : query: %ARTIST


Package : com.maxmpz.audioplayer


Target : Activity


 


With tasker's Send Intent task, Poweramp will play the first song of the artist in alphabetical order, then play the rest of my library in alphabetical order. 


 


How can I tell Poweramp to play a specific(Varying) artist from tasker?


 


(Posted here instead of general talk)


Share this post


Link to post
Share on other sites

I am trying the same, but from my understanding the call should be:

 

Action: com.maxmpz.audioplayer.API_COMMAND
Data: content://com.maxmpz.audioplayer/artists&flt=%ARTIST
Extra: cmd:20
Target: Service 

 

Unfortunately, this does also not work for me.

I tested it with e.g.

 

Data: content://com.maxmpz.audioplayer/artists&flt=foo

 

Which started playing some songs (still not related at all to foo in the artists name)...

 

At this point I am stuck... any hints?

Share this post


Link to post
Share on other sites

I know this is kinda old, but I just wanted to tell you what I've found out.

First: you can query playing artist foo with content://com.maxmpz.audioplayer.data/files?flt=foo

It's even working for not exact input (e.g. "mind in a box" matches "mind.in.a.box")

Second: this may fail if there are songs containing the artist name in title, because all results are played.

So: it would also work for title or album queries

Third: by looking into Playerservice.xml I found out, that content://com.maxmpz.audioplayer.data/artists/#/files

would also work, but # seems to be an unique artist id, which I don't know how to find out.

Greetings from Germany,

F43nd1r

Share this post


Link to post
Share on other sites

Hi,

take a look on this written by me

 

Share this post


Link to post
Share on other sites

Viglio,

some suspicious text in your xml documents. Apple metadata? 

   Mac OS X                  2  ‘    Ã                                      ATTR      Ã   È  û                 È  µ  %com.apple.metadata:kMDItemWhereFroms   }   F  com.apple.quarantine bplist00¢_\https://mail-attachment.googleusercontent.com/attachment/u/0/?

on the face of it I would not recommend the download

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now