Recreate M3U 2.4 - Updated 25/10/2010

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Recreate M3U 2.4 - Updated 25/10/2010

Re: Recreate M3U 2.4 - Updated 25/10/2010

by mp3fan » Sat Feb 29, 2020 9:13 am

Hi,
@Peke: sent you the files to check my UTF problem

Maybe trixmoto can add a parameter in the script for relative/absoute filepath, like he already did in other scripts (batch m3u creator) :D

BR
mp3fan

Re: Recreate M3U 2.4 - Updated 25/10/2010

by Peke » Thu Feb 27, 2020 8:15 am

Hi,
MMW is not capable to save (UCS-2, Little Indian), M3U and M3U8 have strict format. Can you please ZIP few files and send me DL link in PM?

That needs to be changed in plugin. And tracks needs to be in folder or subfolders of playlist to point to paths like "queen\its a miracle\breakthrough.mp3" instead of "f:\music\queen\its a miracle\breakthrough.mp3"

MMW do that in sync profile.

If the problem is with existing files Only way I can think of is to use NotePad++ and do a replace on all opened documents (You can drag selection of files to notepad++ to open them all).

Re: Recreate M3U 2.4 - Updated 25/10/2010

by mp3fan » Wed Feb 26, 2020 6:51 am

Peke wrote:
Sun Feb 23, 2020 11:11 pm
Try to rename all playlists to M3U8 and see if that helps.
I get the same output file (UCS-2, Little Indian) , even by renaming the input file (UTF-8) to m3u8.

But more important to me is my first question, how to get relativ pathnames. Any ideas?

mp3fan

Re: Recreate M3U 2.4 - Updated 25/10/2010

by Peke » Sun Feb 23, 2020 11:11 pm

Hi,
That second line starts with UTF-8 BOM character mark (0xEF,0xBB,0xBF) https://en.wikipedia.org/wiki/Byte_orde ... y_encoding
Try to rename all playlists to M3U8 and see if that helps.

NOTE: BOM Character should be the first 3 bytes of any text based file to indicate that text is UTF-8 Encoded. Problem is that it is in second line which confuses every app that handles BOM character.

Re: Recreate M3U 2.4 - Updated 25/10/2010

by mp3fan » Sun Feb 23, 2020 3:33 pm

Hi,
just found this helpful script.
1. Is there a way to keep relative path names in my m3u-playlist or check for valid path/filenames?
2. The fixed m3u-file contains a new second line "##EXTM3U". How can I prevent this?
old file:
#EXTM3U
fixed file:
#EXTM3U
##EXTM3U

mp3fan

Re: Recreate M3U 2.4 - Updated 25/10/2010

by springswood » Mon Oct 14, 2019 10:34 am

Thanks for this great script.

My hard disc with my music on it died. It was all on my iPod (classic 160GB) and I could recover the 6000+ songs with Media Monkey. But not my 50 playlists. I can with your script.

I used this method.

In MM go to the playlist on the iPod and select all tracks

Use File - Create Reports - File List (csv) to extract the data (Export M3U file had iPod filenames but none of the Artist, Title etc data)

Edit the csv file in a spreadsheet to remove filenames (with the old filenames success rates were ~30%, without 100%)

rename as .txt

Run your fab script on it

Disaster averted. Thank you.

Re: Recreate M3U 2.4 - Updated 25/10/2010

by Lowlander » Sat Jun 29, 2019 12:16 pm

Tools > Scripts > Export All Playlists.

Re: Recreate M3U 2.4 - Updated 25/10/2010

by jan_h » Sat Jun 29, 2019 11:40 am

Hi,
I know that I'm some years behind the latest post, but my question is: Does MM Gold now include this functionality as native function? Because that is the main function I'm looking for as I need to recreate the playlists I buils over years now from my old laptop to a new one with different folder structure.
And second question is: While trying to export my playlists to m3u format, I find this only possible 1 by 1. Is there any 'export all' functionality in MM? (Gold or free)

Besides, the plugins works very fine, with installer and dialog-box for selecting the right track if found more than 1. Thanks really a lot for this!!

Re: Recreate M3U 2.4 - Updated 25/10/2010

by trixmoto » Sun Jul 13, 2014 9:32 am

welby wrote:I tried running it against a text list and it worked with the exception it does not like artists names that contain "&"
This works absolutely fine for me, can you give me any more information?

Re: Recreate M3U 2.4 - Updated 25/10/2010

by trixmoto » Fri Jan 24, 2014 3:55 am

Can you please open the "RecreateM3U.vbs" script file in a text editor (such as Notepad++) and then change "False" on line 28 to be True, like this...

Code: Select all

Dim Debug : Debug = True
Then if you run the script again, you should get a logfile in your %TEMP% directory - please can you post it or email it to me?

Re: Recreate M3U 2.4 - Updated 25/10/2010

by gkime » Thu Jan 23, 2014 12:15 pm

i am using your script but it is not converting file location in my itunes library to my lossless mediamonkey library

any help would be appreciated

Re: Recreate M3U 2.4 - Updated 25/10/2010

by trixmoto » Mon Nov 11, 2013 3:42 pm

I would have thought that should work, but I'll check it out and see what I can do.

Re: Recreate M3U 2.4 - Updated 25/10/2010

by welby » Sun Nov 10, 2013 4:24 pm

Hi - great script and very useful.

I tried running it against a text list and it worked with the exception it does not like artists names that contain "&"

such as BUSTA RHYMES & MARIAH CAREY

But works perfectly for BUSTA RHYMES and MARIAH CAREY

Apart from that very good and very useful!!!

Thank you

Re: Recreate M3U 2.4 - Updated 25/10/2010

by trixmoto » Tue May 28, 2013 3:16 am

With regards to this script, you'll need to edit the script file to set the "Debug" variable to true, as the option does not appear on the dialogs. You'll need to create a logfile in order to give me more information to go off.

Re: Recreate M3U 2.4 - Updated 25/10/2010

by thefaceman » Mon May 20, 2013 3:11 pm

I have downloaded the latest MM player and the latest Trixmoto scripts
Import m3u and Recreate m3u

Here are some issues I am encountering that I would appreciate help with (if anyone has the time)

Import M3U script

- When I import the playlist ALL of the listings are not recognized as matches in my database, even though the Artist and Title are the EXACT text as in the M3U file. The file IS in my database to be matched but when i click on the imported file in the imported playlist it turns GRAY a though it is do not exist. How can I fix this?


Recreate M3U script

- Seems to work better than import M3U, but
- It only allows ONE script to be imported at a time
- For those files that ARE NOT in my database it does NOT seem to list them in the playlist despite me having the 'list track' checkbox option checked



Basically what I want is to select my playlists in a folder and 'import' them again with the following rules

- Allow multiple playlists to be imported in one process
- ADD the any MISSING files as Artist - Title into the database, without having me to have to 'select' the correct match (as recreate m3u does). I will 'FIND' the correct file later, I just want to SEE in the imported m3u playlist which ones are NOT currently matched in the database.


Again I appreciate your time in advance

Top