Jump to content

Search the Community

Showing results for tags 'intent'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Poweramp EQUALIZER App
    • Equalizer New Releases
    • Equalizer Feature Requests
    • Equalizer Bug Reports
  • Poweramp MUSIC PLAYER App
    • Knowledge Base & F.A.Q.
    • Poweramp New Releases
    • Poweramp Feature Requests
    • Poweramp Bug Reports
    • Skins and Visualizations
  • Miscellaneous
    • General Chatter
    • International (non English-language posts)
    • Poweramp v2 Discussion (Legacy Version ONLY)
    • Developers Area

Categories

  • Poweramp v3 (Latest Releases)
  • Poweramp Equalizer
  • Poweramp v2 (Legacy Versions)
  • INTEL Chipset Versions (v2 only)
  • Other Downloads (v2 only)

Categories

  • 常问问题
  • 购买常见问题

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. Hi there, I already read several topics like this one and of course the Poweramp API documentation for MEDIA_PLAY_FROM_SEARCH here. What already works I can send an intent from tasker using the simple freeform query like this one: Action: android.media.action.MEDIA_PLAY_FROM_SEARCH Category: Default Extra: query:Midnight Oil Package: com.maxmpz.audioplayer As there is only one Artist with the name "Midnight Oil" Poweramp will correctly play all titles of the artist "Midnight Oil" with this intent. If instead of "Midnight Oil" I will put "Debut", Poweramp will play the album "Debut" from "Björk", even if I have other titles, folders and so on, which also have "Debut" in the name. What works in a strange manner With the same intent as show above, if I put "Björk Debut" instead of "Midnight Oil", then one would expect, that Poweramp also plays the album "Debut" from "Björk". But instead it will play the alphabeticaly first entry of the Album "Debut", which is "Aeroplane" and after that will play the alphabeticaly next track in my whole collection (see image below). So, why is this a problem: In the case of the mentioned album "Debut" I could solve this by using "Debut" instead of "Björk Debut" as query string. But in several other cases I have no way to get exactly the album I want. Here is another example: query:23 -> 23 is the name of an album from "Blonde Redhead" and also the name of a track of the same album. Therefore it will play the track 23. What doesn't work So, of course I tried to use the more specific type of query, the "focused query" mentioned here in the API description. But I don't get it to work. It always does nothing or only considers the query-part and ignores the focus-part. So either I am using it the wrong way or Poweramp only supports the freeform query. Here are some of my not working attempts: Action: android.media.action.MEDIA_PLAY_FROM_SEARCH Category: Default Extra: query:Björk Debut Extra: focus:vnd.android.cursor.item/album Package: com.maxmpz.audioplayer Action: android.media.action.MEDIA_PLAY_FROM_SEARCH Category: Default Extra: focus:vnd.android.cursor.item/album Extra: album:Debut Extra: artist:Björk Package: com.maxmpz.audioplayer Does anyone has a working example for using the focused query, in Tasker or plain Java? Regards, Björn
  2. hello, i want to play specified folder in Poweramp with send intent using tasker hear is the code in tasker: A1: Send Intent [ Action:com.maxmpz.audioplayer.API_COMMAND Cat:None Mime Type: Data:content://com.maxmpz.audioplayer.data/folders="Bla Bla" Extra: cmd: 20 Extra: shuffle: 2 Extra: Package: Class: Target:Service ] But this doesn't work. What is wrong with this code? Hear are some stuff from PowerampAPI.java /** * Data:<br> * - uri, following URIs are recognized:<br> * - file://path<br> * - content://com.maxmpz.audioplayer.data/... (see below)<br><br> * * # means some numeric id (track id for queries ending with /files, otherwise - appropriate category id).<br> * If track id (in place of #) is not specified, Poweramp plays whole list starting from the specified track,<br> * or from first one, or from random one in shuffle mode.<br><br> * * All queries support following params (added as URL encoded params, e.g. content://com.maxmpz.audioplayer.data/files?lim=10&flt=foo):<br> * {@code int lim} - SQL LIMIT, which limits number of rows returned<br> * {@code String flt} - filter substring. Poweramp will return only matching rows (the same way as returned in Poweramp lists UI when filter is used).<br> * {@code int shf} - shuffle mode (see ShuffleMode class)<br> * {@code int shs} - 1 if this is shuffle session (for internal use)<br><br> <pre> - Plain folders view (just files in plain folders list) content://com.maxmpz.audioplayer.data/folders content://com.maxmpz.audioplayer.data/folders/# content://com.maxmpz.audioplayer.data/folders/#/files content://com.maxmpz.audioplayer.data/folders/#/files/# - Hierarchy folders view (files and folders intermixed in one cursor) content://com.maxmpz.audioplayer.data/folders/#/folders_and_files content://com.maxmpz.audioplayer.data/folders/#/folders_and_files/# content://com.maxmpz.audioplayer.data/folders/files // All folder files, sorted as folders_files sort (for mass ops). **/
×
×
  • Create New...