Jump to content

Importing playlists from system library


Pauser

Recommended Posts

I have several playlists created with my phone's standard music app. When I invoke the "import playlists' function in Poweramp, I do not see the playlists imported. I do see a msg flash rapidly but it's too quick to read. Does anyone have any ideas on this?

Link to comment
Share on other sites

  • Replies 43
  • Created
  • Last Reply

Then they ought to import correctly. They should appear an internal Poweramp playlists after the import. Can you export them to M3U playlist files via another systemapp and then PA can read them in that format? Something like New Playlist Manager in the Play store I think can handle both system and Poweramp lists.

Andre

Link to comment
Share on other sites

As a last ditch effort, here's what I did:

1. Took a file-based playlist that I was using in Poweramp of 174 files of the best jazz music you ever heard and imported it into the system playlists library using an app called Playlist Backup.

2. Opened my standard music player and verified the playlist. Music player plays the playlist just fine.

3. Opened Poweramp and imported system library playlists. Nothing, no playlist is imported. When I imported, I expected a slight pause because the list contained 174 files but it immediately comes back. No message, no nothing.

Link to comment
Share on other sites

Yes. Please see my last post. I thought I found a way to get my file-based m3u playlists into internal playlists in Poweramp but, darn, the last step didn't work (see my last post). Poweramp let me down. It almost seems as if the 'import from system library' is a stub or dead code in the software.

Link to comment
Share on other sites

You do not import m3u plsylists. They should play without anything done to them. Dont get confused that other music players play the playlist as they may well have their own media databases. Did you create your file based playlist with Poweramp?, ie export to m3u8. To make sure your playlists are actually in the android database ( and not some other as Poweramp will not see this) use my app (free or paid) to verify the android playlists. 

Link to comment
Share on other sites

Yes I created the m3u8 playlist files with Poweramp. I renamed the file to allow playlist backup/restore app to import them into the android media library. The fact that I can see and play the playlist from 2 different players ( standard lg player and google play music) tells me they are in the android media library,

Link to comment
Share on other sites

Here is a followup to my problem. I performed the exact steps on my unrooted phone running android 7 and the import works just fine. It does not work on my rooted phone running android 4.4.2.

Does the root have anything to do with this?

Link to comment
Share on other sites

Follow up to my last posts...the problem is not root. I unrooted my phone and the import still does not work. Don't know if this is an android 4.4 problem or a limitation on this phone. The phone is an lg ultimate 2 (lgl41c) that I have been using Poweramp on for years. It only has 1gig of ram but I don't feel that should be a limitation.

Link to comment
Share on other sites

Yes it's rooted. Downloaded the app and found lots of java exceptions in the playlist import task. Below is the 1st one which probanly triggered the others:

02-28 23:52:28.409 E/PlaylistsImportTask(22341): java.lang.IllegalArgumentException: the bind value at index 1 is null

Link to comment
Share on other sites

This looks as if an attempt was made to pass a null string as an argument to a method call. My guess is that the folder path string to the external.db in android.providers.media for playlists is missing somewhere in my Poweramp data. If anyone knows where this is suposed to be, please let me know. Otherwise I will delete poweamp and reinstall to see if that clears it up.

Link to comment
Share on other sites

This is not a custom rom but it is a recovery of the standard rom for this phone.

Here's the full trace of the playlist import task:

03-01 07:00:10.059 E/PlaylistsImportTask(29192): 
03-01 07:00:10.059 E/PlaylistsImportTask(29192): java.lang.IllegalArgumentException: the bind value at index 1 is null
03-01 07:00:10.059 E/PlaylistsImportTask(29192):     at android.database.sqlite.SQLiteProgram.bindString(SQLiteProgram.java:164)
03-01 07:00:10.059 E/PlaylistsImportTask(29192):     at pv.ll1l(":109)
03-01 07:00:10.059 E/PlaylistsImportTask(29192):     at pv.ll1l(":49)
03-01 07:00:10.059 E/PlaylistsImportTask(29192):     at pv.doInBackground(":26)
03-01 07:00:10.059 E/PlaylistsImportTask(29192):     at android.os.AsyncTask$2.call(AsyncTask.java:288)
03-01 07:00:10.059 E/PlaylistsImportTask(29192):     at java.util.concurrent.FutureTask.run(FutureTask.java:237)
03-01 07:00:10.059 E/PlaylistsImportTask(29192):     at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
03-01 07:00:10.059 E/PlaylistsImportTask(29192):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
03-01 07:00:10.059 E/PlaylistsImportTask(29192):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
03-01 07:00:10.059 E/PlaylistsImportTask(29192):     at java.lang.Thread.run(Thread.java:841)

Link to comment
Share on other sites

Looks like it is down to some error on your tracks. I assume Poweramp reads each track on the android playlist and finds its equivalent in the database. I suspect it takes the trackname to identify a track so i would check if there are any strange tracknames (eg with apostrophy for example). You could clear data on both Poweramp and android and reboot. This would rebuild both databases. The android database holds the full filepath for a track so i suspect this is where Poweramp starts. Powerwmp handles it differently in its database, it holds the track only but knows in which folder to find it.

Link to comment
Share on other sites

I think you have it reveresed. Poweramp's databade holds the full filename and folder path for tracks in the playlist. Android's database identifies the track with an audio id. Thete is nothing unusual in the track names as I have them on another phone with no importer problems.

Phone is charging right now afterwhich I will try your suggestions.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...