Jump to content

Tasker intents


Alsybub

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.

Link to comment
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!

Link to comment
Share on other sites

  • 4 years later...
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.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...