• Announcements

    • andrewilley

      Poweramp v3 Beta-test Build 790 Now Released   04/29/2018

      Poweramp v3 BETA TEST preview build 790, including brand new user interface, has now been released - 30 April 2018. This is not quite feature-complete yet, so only install if you are happy to test with a slightly reduced set of options.  Missing features should be completed during May. Please report any issues in the testing forum thread, and remember to backup your previous build before testing.  
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