Jump to content
Poweramp
Parth

Launch Poweramp and play specific playlist from start using tasker

Recommended Posts

I am looking for help to schedule auto play specific playlist like "prayer" from first song at every morning 8.30 using tasker.

Appreciate help for the same.

Share this post


Link to post
Share on other sites

I do not know tasker but in java code I launch a Poweramp playlist in New Playlist Manager as follows:

Intent intent = new Intent(MediaStore.INTENT_ACTION_MEDIA_PLAY_FROM_SEARCH);
intent.putExtra(MediaStore.EXTRA_MEDIA_FOCUS, "vnd.android.cursor.item/playlist");
intent.putExtra(MediaStore.Audio.Playlists.ENTRY_CONTENT_TYPE,
        "vnd.android.cursor.item/playlist");
intent.putExtra(MediaStore.EXTRA_MEDIA_TITLE, "playlist");
intent.putExtra(SearchManager.QUERY, playlist);
if (intent.resolveActivity(getActivity().getPackageManager()) != null) {
    startActivity(intent);}

where

intent.putExtra(SearchManager.QUERY, playlist); 

 

where playlist has the actual playlistname

Perhaps this helps.

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

×