Jump to content

Starting a m3u playlist?


woric

Recommended Posts

  • 4 weeks later...

Yes, provided that Poweramp have scanned directory with such playlists (happens on startup, but if user deactivated the scanning option, it won't happen automatically). Such playlists have the appropriate playlist id and are in the same /playlists table as other playlists (Poweramp fills the database table with file based playlist entries on first playlist "open" action, either for playlist song list or for playing).

 

Thanks!

  • 3 weeks later...

Thanks for the replies, but unfortunately they both did not help because my question wad not clear enough.

I have written a small application that generates valid M3U files and I currently use Poweramp to listen to the playlists by going to the list of "file based playlists" in Poweramp and selecting a playlist.

However, I would prefer to select the playlist by either a) using an intent to launch the M3U playlist by opening a file or creating a shortcut, or B) adding a button to my application to have Poweramp play the playlist.

Poweramp indicates that it accepts intents for M3U files, but fails when passed the intent.

My question is... can anyone point me in the right direction on how to launch a file based playlist using the external API? I am happy to write the code from first principles, but the code in the example application does not work with file based playlists.

Thanks in advance.

Woric

  • 5 months later...

Woric,

I have the same interest and am looking for this functionality too. So far I understand that you declare the provider type in the manifest.xml file. I have previoulsy managed to launch the stock android player presenting the playlists but have not managed to make it start playing a playlist.

If and when I manage to do this, I will share on the forum.

:D

  • 8 months later...

I made some progress. Unfortunately it looks like Poweramp does not handle this intent

I have posted some code here:

http://forum.powerampapp.com/index.php?/topic/6381-how-to-launch-Poweramp-from-another-andoid-app-into-playing-an-m3u-playlist/

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...