• Announcements

    • andrewilley

      Poweramp v3 Project Update   03/22/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. It's not quite ready for open testing yet, and although he would like to be able to get it out by the end of the March it may just drop over into April. See forum thread for more details and to discuss.    

Search the Community

Showing results for tags 'intent'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 4 results

  1. Poweramp Powered by Tasker

    I listen to a lot of music with Poweramp, often in shuffle all tracks mode, often while driving. The feature that I missed from Poweramp were: 1. delete in one shot a running track because it did not like 2. delete in one shot an entire album while I listen to a track belonging to it 3. immediately switch from shuffle all tracks to shuffle all track from the artist's current track 4. immediately switch from shuffle all tracks to album's current track I have long studied this blog and in the end I was able to do it all! The system is simple and uses the following tools: Rooted Smartphone Tasker Tasker SQLite Plugin KWGT (as one of the possible users of the Action Tasker) PEBBLE (another user of Action Tasker) The method: 1. A Tasker Profile launches an intent that acts as a trigger to retrieve the information of the current track 2. A Tasker Action retrieve many (including the index of the current track), but not all the necessary information 3. Make a copy the Poweramp database files from the root folder "data / data / com.maxmpz.audioplayer / databases / folder.db" in the internal memory of the smartphone 4. Another Tasker Action contains an SQLite statement (using the index of the current track) that acts on the Poweramp database to retrieve all the missing information (in my case, Album code, Artist code) 5. Other Tasker Actions uses the information obtained and other Poweramp intent to do anything and thus realize the one-shot actions that I listed at the beginning of this article (underlined) Once the Tasker Actions carried out, it is easy to recall them with a system like KWGT or for example my Pebble. The attached project will give the opportunity to better understand what I just described. I'm available for clarifications. Valerio Archivio.zip
  2. Poweramp doesn't handle the intent MediaStore.INTENT_ACTION_MEDIA_PLAY_FROM_SEARCH properly. It should find the best match song provided in the intent extra and then play it automatically. However Poweramp only searches for the song and doesn't start playing. Thanks for the awesome player and I hope this bug will be fixed. If you guys need any extra info let me know and I'll try my best to provide them. Poweramp version: 2.0.9 b554 Device: LG Nexus 5 Android: 4.4.2 Stock
  3. I have been searching high and low for an awnser I could understand for this question with no luck. What are the intents I can use to make Tasker control Poweramp? For all my searching around I know Poweramp has an API and can recieve commands from other apps but I'm to dumb to understand any of that code I've found on the API forum. Using Tasker's "Send Intent" task I have tried to use the following to get Tasker to control Poweramp: com.maxmpz.Poweramp.player.<action - either play, toggle_play_pause, stop, next, shuffle, repeat, etc>com.maxmpz.Poweramp.player.PowerampAPI.<action...>com.maxmpz.Poweramp.player.PowerampAPI.COMMAND.<action...>com.maxmpz.Poweramp.player.PowerampAPI.Commands.<action...>com.maxmpz.Poweramp.player.action.intent.PowerampAPI.<COMMAND and Commands>.<action>com.maxmpz.Poweramp.player.PowerampAPI.action.intent.<COMMAND and Commands>.<action>com.maxmpz.Poweramp.<action...>com.maxmpz.Poweramp.action.<action...>com.maxmpz.Poweramp.intent.<action...>com.maxmpz.Poweramp.action.intent.<action...>etc...As an example I use PocketCast for my podcast listening and with Tasker's "Send Intent" task I have: "au.com.shiftyjelly.pocketcasts.action.PLAY" in the action field and when the task is run it will start play on PocketCast. Like I said I'm kind of dumb when it comes to this kind of thing, any help would be great to get this cleared up! Thanks in advance!
  4. I think this is the right place to post this I'm using the following code in my application: Intent playMediaIntent = new Intent(Intent.ACTION_VIEW); playMediaIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); Uri data = Uri.parse("file://" + mediaURI); playMediaIntent.setDataAndType(data, "audio/mp3"); startActivity(playMediaIntent); When Poweramp is selected from the chooser, it starts to play the track for a split second and then pauses. Is this a bug, or is there something else I haven't spotted? Thanks in advance