Jump to content

Playing specific track in Playlist not working

Recommended Posts



I'm trying to play specific track in playlist, by calling API like below.


startService(new Intent(PowerampAPI.ACTION_API_COMMAND)
                                    .putExtra(PowerampAPI.COMMAND, PowerampAPI.Commands.OPEN_TO_PLAY)


where uridata is




When I specify track id at end, it doesn't work (player does nothing). It works fine with albums, folders, artists.

When I specify index number (starting with 1), some of them work but some doesn't.


Is specifying track for playlist differ from others? What number should I add after files/ path?

Share this post

Link to post
Share on other sites


I have been trying to resolve a similar issue.


The difference is that your approach is within the Poweramp api whereas I am trying to approach it from an android point of view.

I would be interested to see how you feed pamp a playlist which is then played.

I have a playlist manager app on Google play which is able to process pamp mp3 tags.

Search for Playlist Manager by theo klink.

Share this post

Link to post
Share on other sites



I'm not feeding playlist, I'm simply fetching list of songs from existing playlist,




and then trying to play specific song from this list.

Share this post

Link to post
Share on other sites

It appears that the latest version of Poweramp is able to play a playlist when launched by an external app. As long as its scanning has picked up the playlist, it presents the required playlist. Although it does not start to play, you still have to click and play but this is an advance on previous versions. Google Music does play the playlist automatically. My app New Playlist Manager has this functionality built in


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