Jump to content
Poweramp
Alsybub

Tasker intents

Recommended Posts

Hi,

I'm trying to play albums via a tasker intent, so that I can browse and play music from a Pebble Smartwatch.

I can get tasker to send basic commands.

For example, to toggle pause in tasker:

Action: com.maxmpz.audioplayer.API_COMMAND

Extra: cmd:1

Target: Service

As soon as I try to play an album I get no result using the following tasker intent:

Action: com.maxmpz.audioplayer.API_COMMAND

Data: content://com.maxmpz.audioplayer/FOLDER/94

Extra: cmd:20

Target: Service

Am I missing something or is tasker simply incapable of sending the intent?

If it is incapable then please help me out with the above, exact intent, as a shell command. It would be greatly appreciated as I have been reading up and trying to get this working for a week now.

Thanks in advance. Great app.

Share this post


Link to post
Share on other sites

The correct URI would be content://com.maxmpz.audioplayer.data/folders/94/files

It seems that comment for URIs in PowerampAPI is obsolete (from v1.0) for some reason. The api example app source is correct. 

 

I've added appropriate snippet to poweramp api sample app source and that URI comment/reference.

 

Thanks!

Share this post


Link to post
Share on other sites
On 5/8/2014 at 8:31 AM, maxmp said:

The correct URI would be content://com.maxmpz.audioplayer.data/folders/94/files

It seems that comment for URIs in PowerampAPI is obsolete (from v1.0) for some reason. The api example app source is correct. 

 

I've added appropriate snippet to Poweramp api sample app source and that URI comment/reference.

 

Thanks!

How does one target specific folders in the main music folder?

content://com.maxmpz.audioplayer.data/folders/94/files

 

This plays everything, including sub folders. I'd like to sort if treat sub folders as a playlist and target them specifically.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...