Page 1 of 1

Handling m3u files with the wrong path

Posted: Sat Apr 17, 2010 12:03 am
by Whiznot
Please help me find a simple solution to the following problem.

I have m3u playlists created by MM on a WinXP boot drive. The songs on the playlist reference a C drive. I would like to either play or import the playlists in MM on a Windows 7 boot drive but the embedded paths are no longer valid.

I could go to the trouble of altering the music path on the Windows 7 drive to match the m3u files but there is probably an easier method.

EDIT: I should have searched first. I have a good solution now.

Re: Handling m3u files with the wrong path

Posted: Sat Apr 17, 2010 12:10 am
by nohitter151

Re: Handling m3u files with the wrong path

Posted: Sat Apr 17, 2010 12:22 am
by Whiznot
Thank you nohitter151. You linked me to the thread I was searching for. :D

Re: Handling m3u files with the wrong path

Posted: Sat Apr 17, 2010 12:57 am
by Whiznot
Well... I'm a total noob re MM scripts.

I finally decided to try editing each m3u with Notepad++. Even though I had never used Notepad++ the process was extremely simple. Open the file and replace all C:\ with G:\. Notepad++ even remembers the replace parameters when subsequent files are opened.

I can't program but someone could probably write a program to automate converting a batch of playlists.

EDIT: Apparently there is no need to write batch conversion program. With Notepad++ the user can create a macro and have it autorun multiple times.

Re: Handling m3u files with the wrong path

Posted: Sat Apr 17, 2010 10:51 am
by Lowlander
You can also open all files in Notepad++ and use the Replace function on all open files.