Jump to content

Change Playlist Entries to Different File

Recommended Posts

I have a lot of lower quality audio files (.MP3) saved into playlists and recently begun downloading higher quality versions (.FLAC). It's my understanding that playlists are save entries as the file's directory. Example (2 entries):

/storage/3234-6463/Music/Kanye West - The Life Of Pablo/17 Facts (Charlie Heat Version).mp3


What I was hoping for was a way to change the first playlist entry to a different file:

/storage/3234-6463/Music/Kanye West - The Life Of Pablo [Flac]/Kanye West - The Life Of Pablo/18 Facts (Charlie Heat Version).flac

And to do that to all my playlists automatically as it would take me forever to do it myself (I have 877 playlists). 

Usually I'd just rename the better quality file as the exact same as my lower quality version and replace the low quality file, and adjust the metadata if necessary (album artist, etc.) to avoid fixing playlists. But I can't do that if the file extension is different. 

Thank you. 

Share this post

Link to post
Share on other sites

I do not think this is possible without bespoke coding. Not only do you change the path, the tracks themselves now end in .flac so they no longer correspond to the original name. Perhaps it is possible to change .mp3 to .flac using unix utilities such as grep and regex. Perhaps other forum members can chip in

Share this post

Link to post
Share on other sites

The easiest way to deal with the playlists would be to load the M3U files (which are plain text) into any decent text editor and do a search-and-replace for ".mp3" to ".flac". You could even do this as a batch process across multiple files if the editor is clever enough. As always, this would be easier to do on a computer than trying to fiddle around on a phone screen.


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...