• 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.    
Parth

Launch Poweramp and play specific playlist from start using tasker

2 posts in this topic

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