andrewilley Posted November 19, 2022 Share Posted November 19, 2022 5 hours ago, Akanmu said: if Poweramp is able to get the song and artist name from wpl or m3u8 playlist but not the location of the song file, why not ask it to search through its own library and replace ? At its heart, a playlist is simply a sequential list of filenames, and where to find them. No other information is required or read - even though some playlist formats may include further optional data, it's not guaranteed and not used. The 'song' file could actually contain anything, the playlist is really just an index or pointer. The original (complete) path as quoted is generally not useful once you've copied a file from one device to another, as the first part of the path (its "root" information) will vary. For example, Windows PC directory paths usually start with something like C:\Users\akanm\, while an Android path will more likely begin with /storage/emulated/0/, and Apple Mac paths will be different again. Trying to compare those parts of absolute paths is pointless as they'll never match, so that beginning section is discarded by Poweramp before trying to look for a matching file. However it is still vital that at least the filename remains exactly the same - and as that could still be potentially ambiguous, Poweramp also checks for the name of the folder that it is stored within. For example, you could have a number of different soundtrack album folders all containing a (different) track called "End Credits.mp3", or you might want a song file called "My Way.mp3" but that could refer to the Frank Sinatra original or about 150 cover versions. That's why its also important to know what folder (which would usually be an album name) the file is stored within. So, getting back to your specific example. You have a file on your Android device called:/storage/emulated/0/Music/Abraham Laboriel/The Bass Walk/The Bass Walk.mp3.mp3 And you have a playlist entry which is looking for a file called:Main Library/Abraham Laboriel/The Bass Walk.mp3.mp3 When Poweramp reads that playlist entry, it knows there should be a file called The Bass Walk.mp3.mp3 , and that file should be stored directly within a subfolder called /Abraham Laboriel/ . But there is no such file path on your storage, as you have sat some point moved the song file into a new subfolder, called /The Bass Walk/ So you'll need to do three things: Make sure the folder structure on your Android device's music collection is exactly the same as that on your PC (or wherever you created the playlists). Files must be located in the same subfolders that the playlist says they are in. Don't change the subfolder layout when you copy from one device to another. Replace all instances of "%20" within your M3U files with a single space. %20 is an encoding technique used mostly for website URLs to replace certain special characters (including spaces) that are not permitted in web addresses (see https://www.w3schools.com/tags/ref_urlencode.ASP). What software did you use to create those playlist files, perhaps there is an option in there as that is certainly not common practice when creating M3U files. Replace all instances of the vertical bar character "|" in your WPL files with a slash "/" or "\" (either type should work). I have no idea why the bars are in there, what software did you use to create those playlists as Windows Media Player (for example) correctly uses slashes as path separators. Andre Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.