Old 18-11-2006   #1
MyCE Rookie
 
Join Date: Oct 2006
Posts: 27
How do you create m3u playlist files?

Personally I have two questions here. 1) What exactly is a m3u playlist file?; 2) How do you create an m3u playlist file?

I downloaded an album from Alicia Keys and it contained a m3u file. I was wondering in relation to the first question, can m3u files be played in any media player. My Windows Media Player can certainly play these files, and thou Windows Media Player creates playlists itself, I noticed that the files created are Windows Media Playlist Files and not m3u. Now if m3u files can be played in any media player then I would be happy to create these files myself. I also am not sure if Windows Media Playlist Files can be played by any other media player.

Now I found that you can create m3u playlist files with notepad by typing in the required information and saving it with a .m3u at the end. This is the same case with Cue Sheet files required for .bin files and if so .img files. But anyways I would like to know the LAYOUT for m3u files in notepad.

Well I hope anyone can help. Cyas .
XangelMusic is offline   Reply With Quote
Old 18-11-2006   #2
MyCE Resident
 
Chriso's Avatar
 
Join Date: Apr 2003
Location: Liverpool, England
Posts: 2,103
Re: How do you create m3u playlist files?

You can use this software to create them, very quick and easy to use:

http://www.oddgravity.de/
__________________
Videos of me playing piano, would be nice to have feedback from you all!

[23:49] <Chriso> !seen Boobies
[23:49] <JuPiLeR> I found 430 matches to your query; please refine it to see any output.


OS: openSUSE 10.3 and Windows XP SP2
PSU: Enermax Liberty 400w - Modular
Mobo: Jetway V266B
CPU: AMD AthlonXP 2000+
RAM: 256MB Crucial PC2100 + 512MB Corsair Value Select PC2100
HDD: 120GB Maxtor ATA133 8MB Cache + 320GB Western Digital "RAID Edition" ATA100 8MB Cache
Gfx Card: NVIDIA GeForce 6200 passive cooled
Sound Card: SB Live 1024
DVD-ROM Drive: Asus E-616
CD-RW: LiteON 52246S
DVD-RW: NEC ND2510A in external Firewire enclosure (Prolific chipset)
USB2 Card: ALI chipset (got an NEC chipset one waiting to go in)
Firewire Card: Not sure of chipset...but it seems to work
D-Link Network Card

My old Voodoo 3 2000 PCI has now retired, still in perfect working order though!

Get Firefox!
Join CDFreaks

Chriso is offline   Reply With Quote
Old 18-11-2006   #3
MyCE Rookie
 
Join Date: Oct 2006
Posts: 27
Re: How do you create m3u playlist files?

Quote:
Originally Posted by Chriso
You can use this software to create them, very quick and easy to use:

http://www.oddgravity.de/
Hey Chriso, Thx for that. Thou personally I don't like installing software from the internet unless the software is really well known and has gained such good responses. That's why I asked about notepad. Also for people who don't know Winamp does create m3u playlists for you but I don't want Winamp in my computer. So yea.
XangelMusic is offline   Reply With Quote
Old 18-11-2006   #4
CD Freaks Member
 
crofty83's Avatar
 
Join Date: Dec 2005
Location: North West, UK
Posts: 158
Re: How do you create m3u playlist files?

You could create them using notepad but that could take ages.

Windows Media Player WILL create m3u playlists for you. Im curius as why you wouldn't want Winamp on your rig tho?

Last edited by crofty83; 18-11-2006 at 15:41.
crofty83 is offline   Reply With Quote
Old 18-11-2006   #5
CD Freaks Rookie
 
Join Date: Oct 2006
Posts: 34
Re: How do you create m3u playlist files?

You can create m3u playlists with Foobar. This is a well known Audio player. Though it doesn't have a fancy interface, it has a better quality than any other player, it also supports gapless playback, and plays practically any format.
intx is offline   Reply With Quote
Old 19-11-2006   #6
MyCE Resident
 
Join Date: Oct 2004
Location: .au/sydney
Posts: 1,315
Re: How do you create m3u playlist files?

M3U files are basically a list of filenames/filepaths.

What you could do is make a new text document containing the names of the songs [including extension] and save as an M3U and it'll be done. The problem with using some audio players to do it is that it saves the PATH and when you move the folder everything screws up [e.g. Winamp].
__________________
Drives I Own (and are in use in one of my many computers): - LiteOn iHBS212 - LG GGW-H20L - BenQ DW1640 - Samsung SH-222BB - Pioneer DVR-111L - Nu-Tech DDW-082 and more!
lui_gough is offline   Reply With Quote
Old 19-11-2006   #7
MyCE Resident
 
Chriso's Avatar
 
Join Date: Apr 2003
Location: Liverpool, England
Posts: 2,103
Re: How do you create m3u playlist files?

That one I recommended is very good, and can either create absolute (with the full file path) or relative (like in the same folder, so they can be moved around to a different device/folder). Lots of features for a free program. Also, I would personally recommend Winamp as it has a lot to offer (probably not as much as Foobar) as a music player.
__________________
Videos of me playing piano, would be nice to have feedback from you all!

[23:49] <Chriso> !seen Boobies
[23:49] <JuPiLeR> I found 430 matches to your query; please refine it to see any output.


OS: openSUSE 10.3 and Windows XP SP2
PSU: Enermax Liberty 400w - Modular
Mobo: Jetway V266B
CPU: AMD AthlonXP 2000+
RAM: 256MB Crucial PC2100 + 512MB Corsair Value Select PC2100
HDD: 120GB Maxtor ATA133 8MB Cache + 320GB Western Digital "RAID Edition" ATA100 8MB Cache
Gfx Card: NVIDIA GeForce 6200 passive cooled
Sound Card: SB Live 1024
DVD-ROM Drive: Asus E-616
CD-RW: LiteON 52246S
DVD-RW: NEC ND2510A in external Firewire enclosure (Prolific chipset)
USB2 Card: ALI chipset (got an NEC chipset one waiting to go in)
Firewire Card: Not sure of chipset...but it seems to work
D-Link Network Card

My old Voodoo 3 2000 PCI has now retired, still in perfect working order though!

Get Firefox!
Join CDFreaks

Chriso is offline   Reply With Quote
Old 20-11-2006   #8
MyCE Senior Member
 
NRen2k5's Avatar
 
Join Date: Dec 2004
Posts: 476
Re: How do you create m3u playlist files?

I use a script sometimes. Sometimes I just use foobar. I don't make M3U's all that often anymore because I don't use them. Anyway, here is the script I use:

Code:
@echo off
dir /o:n /b *.mp3 > Playlist.m3u
Copy&paste it into Notepad and save as a DOS batch file (e.g. MakeM3U.bat)

I just drop it into the folder of MP3's I want to list and run it. Then I'd open the .M3U file in Notepad if I want to change the order of the songs.
__________________
Scientology
NRen2k5 is offline   Reply With Quote
Old 20-05-2009   #9
New on Forum
 
Join Date: Nov 2006
Posts: 1
Re: How do you create m3u playlist files?

Quote:
Originally Posted by NRen2k5 View Post
I use a script sometimes. Sometimes I just use foobar. I don't make M3U's all that often anymore because I don't use them. Anyway, here is the script I use:

Code:
@echo off
dir /o:n /b *.mp3 > Playlist.m3u
Copy&paste it into Notepad and save as a DOS batch file (e.g. MakeM3U.bat)

I just drop it into the folder of MP3's I want to list and run it. Then I'd open the .M3U file in Notepad if I want to change the order of the songs.
Holy crap - it works!
eflat is offline   Reply With Quote
Old 29-12-2009   #10
New Member
 
Join Date: Dec 2009
Posts: 7
Re: How do you create m3u playlist files?

Thanks to XAngelMusic for posting the question and a special thanks to NRen2k5 for his/her simple and clear explanation of how to create the bat file - Happy New Year 2010 - Rick
rickavon is offline   Reply With Quote
Old 05-01-2010   #11
New Member
 
Join Date: Jan 2010
Posts: 1
Quote:
Originally Posted by NRen2k5 View Post
I use a script sometimes. Sometimes I just use foobar. I don't make M3U's all that often anymore because I don't use them. Anyway, here is the script I use:

Code:
@echo off
dir /o:n /b *.mp3 > Playlist.m3u
Copy&paste it into Notepad and save as a DOS batch file (e.g. MakeM3U.bat)

I just drop it into the folder of MP3's I want to list and run it. Then I'd open the .M3U file in Notepad if I want to change the order of the songs.
Better Adaptation of above Idea.
Copy below content to a notepad file and save as M3u.reg.
Double-Click the M3u.reg and click "Yes" for registry updation.
Find the option "MakeM3U PlayList" on the right click of ANY folder. 'Njoy.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\MakeM3U PlayList]
@="MakeM3U PlayList"

[HKEY_CLASSES_ROOT\Folder\shell\MakeM3U PlayList\command]
@="cmd.exe /k \"dir /o:n /b *.mp3 > Playlist.m3u & exit\""
MuggySmile is offline   Reply With Quote
Old 05-01-2010   #12
MyCE Resident
 
t0nee1's Avatar
 
Join Date: Nov 2006
Location: Sokali
Posts: 3,364
Re: How do you create m3u playlist files?

I don't make M3U's all that often, but when I do I'll create them when I rip the CD..Or I'll use foobar2k, MediaMonkey,Mp3Tag etc..They're easily created w/o using scripts..
We all have our preferences..
__________________
Never Argue With The Ignorant Because They Will Simply Pull You Down To Their Level And Beat You With Experience..

"I'm entitled to my opinion, and my opinion is that you're not allowed to have an opinion. - George Carlin
t0nee1 is offline   Reply With Quote
Old 05-01-2010   #13
New Member
 
Join Date: Jan 2010
Posts: 2
Re: How do you create m3u playlist files?

I like the Right Click -> Make m3U Playlist idea. I made the modification to the registry but when I try it, I always get an "Access Denied" message when I clearly have admin rights everywhere on the system. Any ideas why it won't work?
BTW, I opened a cmd window in a music folder and ran the line dir /o:n /b *.mp3 > Playlist.m3u & exit That worked perfectly....
brucem26 is offline   Reply With Quote
Old 05-01-2010   #14
MyCE Resident
 
justcallmebob's Avatar
 
Join Date: Dec 2004
Location: Oklahoma
Posts: 981
Re: How do you create m3u playlist files?

Quote:
Originally Posted by MuggySmile View Post
Better Adaptation of above Idea.
Copy below content to a notepad file and save as M3u.reg.
Double-Click the M3u.reg and click "Yes" for registry updation.
Find the option "MakeM3U PlayList" on the right click of ANY folder. 'Njoy.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\MakeM3U PlayList]
@="MakeM3U PlayList"

[HKEY_CLASSES_ROOT\Folder\shell\MakeM3U PlayList\command]
@="cmd.exe /k \"dir /o:n /b *.mp3 > Playlist.m3u & exit\""
Quote:
Originally Posted by NRen2k5 View Post
I use a script sometimes. Sometimes I just use foobar. I don't make M3U's all that often anymore because I don't use them. Anyway, here is the script I use:

Code:
@echo off
dir /o:n /b *.mp3 > Playlist.m3u
Copy&paste it into Notepad and save as a DOS batch file (e.g. MakeM3U.bat)

I just drop it into the folder of MP3's I want to list and run it. Then I'd open the .M3U file in Notepad if I want to change the order of the songs.
Very cool . . .
justcallmebob is offline   Reply With Quote
Old 05-01-2010   #15
New Member
 
Join Date: Jan 2010
Posts: 2
Bob,
Did that MakeM3U PlayList reg entry work? Do you get an Access Denied message at all?

Thanks,
Bruce
brucem26 is offline   Reply With Quote
Old 18-03-2010   #16
New Member
 
Join Date: Mar 2010
Posts: 1
Quote:
Originally Posted by lui_gough View Post
M3U files are basically a list of filenames/filepaths.

What you could do is make a new text document containing the names of the songs [including extension] and save as an M3U and it'll be done. The problem with using some audio players to do it is that it saves the PATH and when you move the folder everything screws up [e.g. Winamp].
I tried this and it worked great! I use Foobar and love it but sometimes I want to listen to a folder of music without making or loading a playlist. I knew I could do it myself without using any applications but didn't know how. This was so easy and I like the portability of it. It worked fine with Windows Media Player and VLC. Thank you!
SilverWeb is offline   Reply With Quote
Old 02-07-2010   #17
New Member
 
Join Date: Jul 2010
Posts: 1
Quote:
Originally Posted by MuggySmile View Post
Better Adaptation of above Idea.
Copy below content to a notepad file and save as M3u.reg.
Double-Click the M3u.reg and click "Yes" for registry updation.
Find the option "MakeM3U PlayList" on the right click of ANY folder. 'Njoy.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\MakeM3U PlayList]
@="MakeM3U PlayList"

[HKEY_CLASSES_ROOT\Folder\shell\MakeM3U PlayList\command]
@="cmd.exe /k \"dir /o:n /b *.mp3 > Playlist.m3u & exit\""
I tried to do the registry thing but now when i click it it just makes an empty .m3u outside of that folder,

is there a way that i could delete that command from the registry so it doesent shwo up or a way to fix the problem? thanks
gsabin789 is offline   Reply With Quote
Old 18-07-2010   #18
MyCE Junior Member
 
ferguj1's Avatar
 
Join Date: Nov 2008
Location: The Great Beyond
Posts: 85
Quote:
Originally Posted by brucem26 View Post
I like the Right Click -> Make m3U Playlist idea. I made the modification to the registry but when I try it, I always get an "Access Denied" message when I clearly have admin rights everywhere on the system. Any ideas why it won't work?
BTW, I opened a cmd window in a music folder and ran the line dir /o:n /b *.mp3 > Playlist.m3u & exit That worked perfectly....
It doesn't necessarily matter that you are logged on as administrator, you still have to have command prompt set to run as administrator as well. At least that has been my experience anyway.
ferguj1 is offline   Reply With Quote
Old 08-08-2010   #19
New Member
 
Join Date: Aug 2010
Posts: 1
This is a batch file I created as a side project with playlist generation in mind.
Copy it to notepad and save it as m3umake.bat or something.

It asks for three things:
1. Path to music.
2. Playlist name.
3. Path to which playlist will be saved.

If you leave the fields blank, they'll use defaults that I've set up.
The defaults, respectively, are:
1. Path to music: Current directory.
2. Playlist name: "playlist"
3. Save path: Current directory.

Enjoy :)
Quote:
:: The following is a batch script for generating playlist files
:: from song files in a directory of choice or the current directory
:: if nothing is selected.
::
:: Important commands used: set /p, if, if errorlevel, goto, dir /b /s
::
:: Variables used: musicpath, playlistname, playlistpath
:: These variables should be cleared at the beginning and end of the file
@echo off
set musicpath=
set playlistname=
set playlistpath=
cls
echo --------------------------------------
echo --------- Playlist Generator ---------
echo --------------------------------------
:start
set /p musicpath=Enter path to folder where music is stored:
if "%musicpath%"=="" goto mpath_error

:mpath
set musicpath=%musicpath%\

:playname
set /p playlistname=Enter desired playlist name:
if not "%playlistname%"=="" goto playpath
goto name_error

:playpath
set /p playlistpath=Enter path to which playlist will be saved; hit enter to save in current directory:
if exist "%playlistpath%%playlistname%.m3u" goto pexists
cd %musicpath%
if errorlevel 3 goto mpath_error
dir /b /s %1*.mp3 >%playlistpath%%playlistname%.m3u
goto end

:: Errors section start
:name_error
echo No name chosen for playlist, using default name "playlist"
echo.
set playlistname=playlist
goto playpath

:mpath_error
echo No directory specified, using current directory.
echo.
set musicpath=
goto playname

:pexists
echo The playlist by the name of %playlistname%.m3u already exists.
goto trueend
:: Error section end

:end
echo Your playlist is now available for use!
goto trueend

:trueend
:: This section resets the variables before exiting
set musicpath=
set playlistname=
set playlistpath=
echo Press any key to exit...
pause >nul
arsenoxide is offline   Reply With Quote
Old 26-11-2010   #20
New Member
 
Join Date: Nov 2010
Posts: 1
Quote:
Originally Posted by NRen2k5 View Post
I use a script sometimes. Sometimes I just use foobar. I don't make M3U's all that often anymore because I don't use them. Anyway, here is the script I use:

Code:
@echo off
dir /o:n /b *.mp3 > Playlist.m3u
Copy&paste it into Notepad and save as a DOS batch file (e.g. MakeM3U.bat)

I just drop it into the folder of MP3's I want to list and run it. Then I'd open the .M3U file in Notepad if I want to change the order of the songs.
ok, i love this idea, but i have a problem with it. i tried making a playlist with wma files, but it wouldnt work... so i made a new script changing the mp3 part to wma... and that worked fine. i assume i can use the same process for flac and ogg... no issue there.

but... what if i want to make a playlist with mixed media types... wma, mp3, flac... all in one list? is there a way to modify the script to use any file type? i'd rather use one catch all batch command instead of one for wma, mp3, flac.
JoeyWood82 is offline   Reply With Quote
Old 27-11-2010   #21
MyCE Resident
 
_chef_'s Avatar
 
Join Date: Aug 2004
Location: @FX labs .de ...playing LLAMATRON :-]
Posts: 31,135
Re: How do you create m3u playlist files?

Man, how should that work if your list has wrong filenames in it???
__________________
Enable DMA with micrAp$0ft Enable DMA free at your will busTRACE => Upper/Lower Filters Util
DevCon
***HOW TO ... Delete the Upper & Lower Filters!***

If you expect help then please use the powerful SEARCH. Try ThreatFire
I am looking for DVD-R for Authoring & HD DVD media. Please PM me if you can help me.

Vamos Tribbles! V-a-m-o-s!!
_chef_ is offline   Reply With Quote
Old 26-01-2011   #22
New Member
 
DJRavine's Avatar
 
Join Date: Jan 2011
Location: Brisbane, Australia
Posts: 1
Hey All,

I know this is an old post, but here is my M3U playlist generator...
It will go thru every folder in the base folder, and create a M3U playlist in the output folder...
The generator will parse the Titles in the M3U playlist file and remove invalid chars...
Just add more filetypes if you wish, *.avi *.mkv *.mpg *.mpeg *.wma *.mp4 *.divx...
It will also output a TV.TXT which is a complete listing of all your tv shows...


BATCH FILE CODE
Code:
@ECHO OFF
SETLOCAL EnableDelayedExpansion
CLS

REM !!! SET THE PATHS HERE !!!
SET BasePath=M:\+TV+\
SET PlaylistOutputPath=M:\PLAYLISTS\M3U\
REM !!! SET THE PATHS HERE !!!




ECHO.
ECHO +--------------------------------------------------------
ECHO + Checking files in folders to make into playlists
ECHO +                                          Please wait...
ECHO +--------------------------------------------------------
ECHO.



REM ---------------
REM PROCESS FOLDERS
REM ---------------
SET COUNTFOLDERS=0
FOR /D %%A IN (*) DO (

	REM -------------
	REM SET VARIABLES
	REM -------------
	SET fullfoldername=%%A
	SET fulldir=!BasePath!%%A\
	
	SET /A COUNTFOLDERS+=1
	
	ECHO   MAKING PLAYLIST ^-^> !fullfoldername!.M3U
	CD !fullfoldername!	
	ECHO #EXTM3U > "!PlaylistOutputPath!!fullfoldername!.M3U"
	FOR /F "tokens=*" %%B IN ('DIR /o:n /b *.avi *.mkv *.mpg *.mpeg *.wma *.mp4 *.divx') DO (
		SET fullfilename=%%B
		SET filename=!fullfilename:~0,-4!
		SET filename1=!filename:,=!
		SET filename2=!filename1:^)=!
		SET filename3=!filename2:(=!
		SET filename4=!filename3:- =!
			
		REM ECHO !fullfilename!
		ECHO #EXTINF:,!filename4! >> "!PlaylistOutputPath!!fullfoldername!.M3U"
		ECHO !fulldir!%%B >> "!PlaylistOutputPath!!fullfoldername!.M3U"
	)	
	CD ..
	
	
)
ECHO.
IF %COUNTFOLDERS%==0 ( ECHO    NO FOLDERS FOUND... )
IF NOT %COUNTFOLDERS%==0 ( ECHO    %COUNTFOLDERS% FOLDERS PROCESSED... )

ECHO.
ECHO.

REM -----------------
REM CREATE TV.TXT - A Complete listing of all folders and files
REM -----------------
ECHO   MAKING "!BasePath!TV.TXT" ^-^> A Complete listing of all folders and files
TREE /A /F > "!BasePath!TV.TXT"

ENDLOCAL
ECHO.
ECHO.

ECHO Press ANY KEY to EXIT...
PAUSE >nul


BATCH FILE SAMPLE OUTPUT
Code:
+--------------------------------------------------------
+ Checking files in folders to make into playlists
+                                          Please wait...
+--------------------------------------------------------

  MAKING PLAYLIST -> +SIMPSONS+.M3U
  MAKING PLAYLIST -> AMERICAN DAD.M3U
  MAKING PLAYLIST -> BATTLESTAR GALACTICA.M3U
  MAKING PLAYLIST -> BEING HUMAN.M3U
  MAKING PLAYLIST -> BONES.M3U
  MAKING PLAYLIST -> BREAKING BAD.M3U
  MAKING PLAYLIST -> BUFFY.M3U
  MAKING PLAYLIST -> CALIFORNICATION.M3U
  MAKING PLAYLIST -> CARNIVALE.M3U
  MAKING PLAYLIST -> CASTLE.M3U
  MAKING PLAYLIST -> CHAPPELLE SHOW.M3U
  MAKING PLAYLIST -> CHUCK.M3U
  MAKING PLAYLIST -> CLEVELAND SHOW.M3U
  MAKING PLAYLIST -> COLBERT REPORT.M3U
  MAKING PLAYLIST -> COMEDY.M3U
  MAKING PLAYLIST -> COPS.M3U
  MAKING PLAYLIST -> CSI.M3U
  MAKING PLAYLIST -> CSI MIAMI.M3U
  MAKING PLAYLIST -> DAY BREAK.M3U
  MAKING PLAYLIST -> DEAD LIKE ME.M3U
  MAKING PLAYLIST -> DELOCATED.M3U
  MAKING PLAYLIST -> DEXTER.M3U
  MAKING PLAYLIST -> DOCTOR WHO.M3U
  MAKING PLAYLIST -> DOLLHOUSE.M3U
  MAKING PLAYLIST -> DUDESONS.M3U
  MAKING PLAYLIST -> ESCAPE TO THE LEGION.M3U
  MAKING PLAYLIST -> EUREKA.M3U
  MAKING PLAYLIST -> FAMILY GUY.M3U
  MAKING PLAYLIST -> FRINGE.M3U
  MAKING PLAYLIST -> FUTURAMA.M3U
  MAKING PLAYLIST -> GENERATION KILL.M3U
  MAKING PLAYLIST -> GLEE.M3U
  MAKING PLAYLIST -> HAPPY HOUR.M3U
  MAKING PLAYLIST -> HELP ME HELP YOU.M3U
  MAKING PLAYLIST -> HEROES.M3U
  MAKING PLAYLIST -> HOUSE.M3U
  MAKING PLAYLIST -> HOW I MET YOUR MOTHER.M3U
  MAKING PLAYLIST -> HUNG.M3U
  MAKING PLAYLIST -> ITS ALWAYS SUNNY IN PHILADELPHIA.M3U
  MAKING PLAYLIST -> JERICHO.M3U
  MAKING PLAYLIST -> KINIGHT RIDER.M3U
  MAKING PLAYLIST -> LAS VEGAS.M3U
  MAKING PLAYLIST -> LAWMAN.M3U
  MAKING PLAYLIST -> LEGEND OF THE SEEKER.M3U
  MAKING PLAYLIST -> LEVERAGE.M3U
  MAKING PLAYLIST -> LOCK 'N' LOAD.M3U
  MAKING PLAYLIST -> LOST.M3U
  MAKING PLAYLIST -> LUCKY LOUIE.M3U
  MAKING PLAYLIST -> MAN LAB.M3U
  MAKING PLAYLIST -> MAN VS WILD.M3U
  MAKING PLAYLIST -> MY NAME IS EARL.M3U
  MAKING PLAYLIST -> MYTHBUSTERS.M3U
  MAKING PLAYLIST -> NCIS.M3U
  MAKING PLAYLIST -> NEIGHBORS FROM HELL.M3U
  MAKING PLAYLIST -> ONE TREE HILL.M3U
  MAKING PLAYLIST -> OVER THERE.M3U
  MAKING PLAYLIST -> PENN AND TELLER.M3U
  MAKING PLAYLIST -> PIMP MY RIDE.M3U
  MAKING PLAYLIST -> PIZZA.M3U
  MAKING PLAYLIST -> PRIMEVAL.M3U
  MAKING PLAYLIST -> PRISON BREAK.M3U
  MAKING PLAYLIST -> PURE PWNAGE.M3U
  MAKING PLAYLIST -> ROBOT CHICKEN.M3U
  MAKING PLAYLIST -> SANCTUARY.M3U
  MAKING PLAYLIST -> SATURDAY NIGHT LIVE.M3U
  MAKING PLAYLIST -> SHIT MY DAD SAYS.M3U
  MAKING PLAYLIST -> SMALLVILLE.M3U
  MAKING PLAYLIST -> SOUTH PARK.M3U
  MAKING PLAYLIST -> STARGATE ATLANTIS.M3U
  MAKING PLAYLIST -> STARGATE SG1.M3U
  MAKING PLAYLIST -> STARGATE UNIVERSE.M3U
  MAKING PLAYLIST -> STEPHEN FRY IN AMERICA (2008).M3U
  MAKING PLAYLIST -> SUPERNATURAL.M3U
  MAKING PLAYLIST -> TALES FROM THE CRYPT.M3U
  MAKING PLAYLIST -> TERMINATOR THE SARAH CONOR CHRONICLES.M3U
  MAKING PLAYLIST -> THANK GOD YOURE HERE.M3U
  MAKING PLAYLIST -> THAT 70S SHOW.M3U
  MAKING PLAYLIST -> THE 4400.M3U
  MAKING PLAYLIST -> THE CLASS.M3U
  MAKING PLAYLIST -> THE DAY OF THE TRIFFIDS (BBC 1981).M3U
  MAKING PLAYLIST -> THE GLASSHOUSE.M3U
  MAKING PLAYLIST -> THE LOST ROOM.M3U
  MAKING PLAYLIST -> THE OFFICE.M3U
  MAKING PLAYLIST -> TIL DEATH.M3U
  MAKING PLAYLIST -> TOP GEAR.M3U
  MAKING PLAYLIST -> TOURGASM.M3U
  MAKING PLAYLIST -> TRAILER PARK BOYS.M3U
  MAKING PLAYLIST -> TRUE BLOOD.M3U
  MAKING PLAYLIST -> UNDERCOVER BOSS.M3U
  MAKING PLAYLIST -> VAMPIRE DIARIES.M3U
  MAKING PLAYLIST -> VIVA LA BAM.M3U
  MAKING PLAYLIST -> WALKING DEAD.M3U
  MAKING PLAYLIST -> WAREHOUSE 13.M3U
  MAKING PLAYLIST -> WEEDS.M3U
  MAKING PLAYLIST -> WHALE WARS.M3U
  MAKING PLAYLIST -> WHO WANTS TO BE A SUPERHERO.M3U
  MAKING PLAYLIST -> WONDER SHOWZEN.M3U

   97 FOLDERS PROCESSED...


  MAKING "M:\+TV+\TV.TXT" -> A Complete listing of all folders and files


Press ANY KEY to EXIT...

SAMPLE M3U PLAYLIST FILE OUTPUT
Code:
#EXTM3U 
#EXTINF:,American.Dad.S01E00 Inside The CIA Unaired Pilot 
M:\+TV+\AMERICAN DAD\American.Dad.S01E00 - Inside The CIA (Unaired Pilot).avi 
#EXTINF:,American.Dad.S01E01 Pilot 
M:\+TV+\AMERICAN DAD\American.Dad.S01E01 - Pilot.avi 
#EXTINF:,American.Dad.S01E02 Threat Levels 
M:\+TV+\AMERICAN DAD\American.Dad.S01E02 - Threat Levels.avi 
#EXTINF:,American.Dad.S01E03 Stan Knows Best 
M:\+TV+\AMERICAN DAD\American.Dad.S01E03 - Stan Knows Best.avi 
#EXTINF:,American.Dad.S01E04 Francine's Flashback 
M:\+TV+\AMERICAN DAD\American.Dad.S01E04 - Francine's Flashback.avi 
#EXTINF:,American.Dad.S01E05 Rodger Codger 
M:\+TV+\AMERICAN DAD\American.Dad.S01E05 - Rodger Codger.avi 
#EXTINF:,American.Dad.S01E06 Homeland Security 
M:\+TV+\AMERICAN DAD\American.Dad.S01E06 - Homeland Security.avi 
#EXTINF:,American.Dad.S01E07 Deacon Stan Jesus Man 
M:\+TV+\AMERICAN DAD\American.Dad.S01E07 - Deacon Stan Jesus Man.avi 
#EXTINF:,American.Dad.S01E08 Bullocks To Stan 
M:\+TV+\AMERICAN DAD\American.Dad.S01E08 - Bullocks To Stan.avi 
#EXTINF:,American.Dad.S01E09 A Smith In The Hand 
M:\+TV+\AMERICAN DAD\American.Dad.S01E09 - A Smith In The Hand.avi 
#EXTINF:,American.Dad.S01E10 All About Steve 
M:\+TV+\AMERICAN DAD\American.Dad.S01E10 - All About Steve.avi 
#EXTINF:,American.Dad.S01E11 Con Heir 
M:\+TV+\AMERICAN DAD\American.Dad.S01E11 - Con Heir.avi 
#EXTINF:,American.Dad.S01E12 Stan of Arabia Part 1 
M:\+TV+\AMERICAN DAD\American.Dad.S01E12 - Stan of Arabia, Part 1.avi 
#EXTINF:,American.Dad.S01E13 Stan of Arabia Part 2 
M:\+TV+\AMERICAN DAD\American.Dad.S01E13 - Stan of Arabia, Part 2.avi 
#EXTINF:,American.Dad.S01E14 Stannie Get Your Gun 
M:\+TV+\AMERICAN DAD\American.Dad.S01E14 - Stannie Get Your Gun.avi 
#EXTINF:,American.Dad.S01E15 Star Trek 
M:\+TV+\AMERICAN DAD\American.Dad.S01E15 - Star Trek.avi 
#EXTINF:,American.Dad.S01E16 Not Particularly Desperate Housewives 
M:\+TV+\AMERICAN DAD\American.Dad.S01E16 - Not Particularly Desperate Housewives.avi 
#EXTINF:,American.Dad.S01E17 Rough Trade 
M:\+TV+\AMERICAN DAD\American.Dad.S01E17 - Rough Trade.avi 
#EXTINF:,American.Dad.S01E18 Finances With Wolves 
M:\+TV+\AMERICAN DAD\American.Dad.S01E18 - Finances With Wolves.avi 
#EXTINF:,American.Dad.S01E19 It's Good To Be The Queen 
M:\+TV+\AMERICAN DAD\American.Dad.S01E19 - It's Good To Be The Queen.avi 
#EXTINF:,American.Dad.S01E20 Roger 'n' Me 
M:\+TV+\AMERICAN DAD\American.Dad.S01E20 - Roger 'n' Me.avi 
#EXTINF:,American.Dad.S01E21 Helping Handis 
M:\+TV+\AMERICAN DAD\American.Dad.S01E21 - Helping Handis.avi 
#EXTINF:,American.Dad.S01E22 With Friends Like Steve's 
M:\+TV+\AMERICAN DAD\American.Dad.S01E22 - With Friends Like Steve's.avi 
#EXTINF:,American.Dad.S01E23 Tears Of A Clooney 
M:\+TV+\AMERICAN DAD\American.Dad.S01E23 - Tears Of A Clooney.avi 
#EXTINF:,American.Dad.S02E01 Camp Refogee 
M:\+TV+\AMERICAN DAD\American.Dad.S02E01 - Camp Refogee.avi 
#EXTINF:,American.Dad.S02E02 The American Dad After School Special 
M:\+TV+\AMERICAN DAD\American.Dad.S02E02 - The American Dad After School Special.avi 
#EXTINF:,American.Dad.S02E03 Failure Is Not a Factory-Installed Option 
M:\+TV+\AMERICAN DAD\American.Dad.S02E03 - Failure Is Not a Factory-Installed Option.avi 
#EXTINF:,American.Dad.S02E04 Lincoln Lover 
M:\+TV+\AMERICAN DAD\American.Dad.S02E04 - Lincoln Lover.avi 
#EXTINF:,American.Dad.S02E05 Dungeons and Wagons 
M:\+TV+\AMERICAN DAD\American.Dad.S02E05 - Dungeons and Wagons.avi 
#EXTINF:,American.Dad.S02E06 Iced Iced Babies 
M:\+TV+\AMERICAN DAD\American.Dad.S02E06 - Iced, Iced Babies.avi 
#EXTINF:,American.Dad.S02E07 Of Ice and Men 
M:\+TV+\AMERICAN DAD\American.Dad.S02E07 - Of Ice and Men.avi 
#EXTINF:,American.Dad.S02E08 Irregarding Steve 
M:\+TV+\AMERICAN DAD\American.Dad.S02E08 - Irregarding Steve.avi 
#EXTINF:,American.Dad.S02E09 The Best Christmas Story Ever 
M:\+TV+\AMERICAN DAD\American.Dad.S02E09 - The Best Christmas Story Ever.avi 
#EXTINF:,American.Dad.S02E10 Bush Comes to Dinner 
M:\+TV+\AMERICAN DAD\American.Dad.S02E10 - Bush Comes to Dinner.avi 
#EXTINF:,American.Dad.S02E11 American Dream Factory 
M:\+TV+\AMERICAN DAD\American.Dad.S02E11 - American Dream Factory.avi 
#EXTINF:,American.Dad.S02E12 A.T. the Abusive Terrestrial 
M:\+TV+\AMERICAN DAD\American.Dad.S02E12 - A.T. the Abusive Terrestrial.avi 
#EXTINF:,American.Dad.S02E13 Black Mystery Month 
M:\+TV+\AMERICAN DAD\American.Dad.S02E13 - Black Mystery Month.avi 
#EXTINF:,American.Dad.S02E14 An Apocalypse to Temember 
M:\+TV+\AMERICAN DAD\American.Dad.S02E14 - An Apocalypse to Temember.avi 
#EXTINF:,American.Dad.S02E15 Four Little Words 
M:\+TV+\AMERICAN DAD\American.Dad.S02E15 - Four Little Words.avi 
#EXTINF:,American.Dad.S02E16 When a Stan Loves a Woman 
M:\+TV+\AMERICAN DAD\American.Dad.S02E16 - When a Stan Loves a Woman.avi 
#EXTINF:,American.Dad.S02E17 I Can't Stan You 
M:\+TV+\AMERICAN DAD\American.Dad.S02E17 - I Can't Stan You.avi 
#EXTINF:,American.Dad.S02E18 The Magnificent Steven 
M:\+TV+\AMERICAN DAD\American.Dad.S02E18 - The Magnificent Steven.avi 
#EXTINF:,American.Dad.S02E19 Joint Custody 
M:\+TV+\AMERICAN DAD\American.Dad.S02E19 - Joint Custody.avi 
#EXTINF:,American.Dad.S03E01 The Vacation Goo 
M:\+TV+\AMERICAN DAD\American.Dad.S03E01 - The Vacation Goo.avi 
#EXTINF:,American.Dad.S03E02 Meter made 
M:\+TV+\AMERICAN DAD\American.Dad.S03E02 - Meter made.avi 
#EXTINF:,American.Dad.S03E03 Dope & Faith 
M:\+TV+\AMERICAN DAD\American.Dad.S03E03 - Dope & Faith.avi 
#EXTINF:,American.Dad.S03E04 Big Trouble in Little Langley 
M:\+TV+\AMERICAN DAD\American.Dad.S03E04 - Big Trouble in Little Langley.avi 
#EXTINF:,American.Dad.S03E05 Haylias 
M:\+TV+\AMERICAN DAD\American.Dad.S03E05 - Haylias.avi 
#EXTINF:,American.Dad.S03E06 The 42-Year-Old Virgin 
M:\+TV+\AMERICAN DAD\American.Dad.S03E06 - The 42-Year-Old Virgin.avi 
#EXTINF:,American.Dad.S03E07 Surro-Gate 
M:\+TV+\AMERICAN DAD\American.Dad.S03E07 - Surro-Gate.avi 
#EXTINF:,American.Dad.S03E08 The Most Adequate Christmas Ever 
M:\+TV+\AMERICAN DAD\American.Dad.S03E08 - The Most Adequate Christmas Ever.avi 
#EXTINF:,American.Dad.S03E09 Frannie 911 
M:\+TV+\AMERICAN DAD\American.Dad.S03E09 - Frannie 911.avi 
#EXTINF:,American.Dad.S03E10 Tearjerker 
M:\+TV+\AMERICAN DAD\American.Dad.S03E10 - Tearjerker.avi 
#EXTINF:,American.Dad.S03E11 Oedipal Panties 
M:\+TV+\AMERICAN DAD\American.Dad.S03E11 - Oedipal Panties.avi 
#EXTINF:,American.Dad.S03E12 Widowmaker 
M:\+TV+\AMERICAN DAD\American.Dad.S03E12 - Widowmaker.avi 
#EXTINF:,American.Dad.S03E13 Red October sky 
M:\+TV+\AMERICAN DAD\American.Dad.S03E13 - Red October sky.avi 
#EXTINF:,American.Dad.S03E14 Office Spaceman 
M:\+TV+\AMERICAN DAD\American.Dad.S03E14 - Office Spaceman.avi 
#EXTINF:,American.Dad.S03E15 Stanny Slickers II The Legend of Ollie's Gold 
M:\+TV+\AMERICAN DAD\American.Dad.S03E15 - Stanny Slickers II, The Legend of Ollie's Gold.avi 
#EXTINF:,American.Dad.S03E16 Spring Break-Up 
M:\+TV+\AMERICAN DAD\American.Dad.S03E16 - Spring Break-Up.avi 
#EXTINF:,American.Dad.S04E01 1600 Candles 
M:\+TV+\AMERICAN DAD\American.Dad.S04E01 - 1600 Candles.avi 
#EXTINF:,American.Dad.S04E02 The One That Got Away 
M:\+TV+\AMERICAN DAD\American.Dad.S04E02 - The One That Got Away.avi 
#EXTINF:,American.Dad.S04E03 One Little Word 
M:\+TV+\AMERICAN DAD\American.Dad.S04E03 - One Little Word.avi 
#EXTINF:,American.Dad.S04E04 Choosy Wives Choose Smith 
M:\+TV+\AMERICAN DAD\American.Dad.S04E04 - Choosy Wives Choose Smith.avi 
#EXTINF:,American.Dad.S04E05 Escape from Pearl Bailey 
M:\+TV+\AMERICAN DAD\American.Dad.S04E05 - Escape from Pearl Bailey.avi 
#EXTINF:,American.Dad.S04E06 Pulling Double Booty 
M:\+TV+\AMERICAN DAD\American.Dad.S04E06 - Pulling Double Booty.avi 
#EXTINF:,American.Dad.S04E07 Phantom of the Telethon 
M:\+TV+\AMERICAN DAD\American.Dad.S04E07 - Phantom of the Telethon.avi 
#EXTINF:,American.Dad.S04E08 Chimdale 
M:\+TV+\AMERICAN DAD\American.Dad.S04E08 - Chimdale.avi 
#EXTINF:,American.Dad.S04E09 Stan Time 
M:\+TV+\AMERICAN DAD\American.Dad.S04E09 - Stan Time.avi 
#EXTINF:,American.Dad.S04E10 Family Affair 
M:\+TV+\AMERICAN DAD\American.Dad.S04E10 - Family Affair.avi 
#EXTINF:,American.Dad.S04E11 Live and Let Fry 
M:\+TV+\AMERICAN DAD\American.Dad.S04E11 - Live and Let Fry.avi 
#EXTINF:,American.Dad.S04E12 Roy Rogers McFreely 
M:\+TV+\AMERICAN DAD\American.Dad.S04E12 - Roy Rogers McFreely.avi 
#EXTINF:,American.Dad.S04E13 Jack's Back 
M:\+TV+\AMERICAN DAD\American.Dad.S04E13 - Jack's Back.avi 
#EXTINF:,American.Dad.S04E14 Bar Mitzvah Hustle 
M:\+TV+\AMERICAN DAD\American.Dad.S04E14 - Bar Mitzvah Hustle.avi 
#EXTINF:,American.Dad.S04E15 Wife Insurance 
M:\+TV+\AMERICAN DAD\American.Dad.S04E15 - Wife Insurance.avi 
#EXTINF:,American.Dad.S04E16 Delorean Story-An 
M:\+TV+\AMERICAN DAD\American.Dad.S04E16 - Delorean Story-An.avi 
#EXTINF:,American.Dad.S04E17 Every Which Way But Lose 
M:\+TV+\AMERICAN DAD\American.Dad.S04E17 - Every Which Way But Lose.avi 
#EXTINF:,American.Dad.S04E18 Weiner of Our Discontent 
M:\+TV+\AMERICAN DAD\American.Dad.S04E18 - Weiner of Our Discontent.avi 
#EXTINF:,American.Dad.S04E19 Daddy Queerest 
M:\+TV+\AMERICAN DAD\American.Dad.S04E19 - Daddy Queerest.avi 
#EXTINF:,American.Dad.S04E20 Stan's Night Out 
M:\+TV+\AMERICAN DAD\American.Dad.S04E20 - Stan's Night Out.avi 
#EXTINF:,American.Dad.S05E01 In Country Club 
M:\+TV+\AMERICAN DAD\American.Dad.S05E01 - In Country Club.avi 
#EXTINF:,American.Dad.S05E02 Moon Over Isla Island 
M:\+TV+\AMERICAN DAD\American.Dad.S05E02 - Moon Over Isla Island.avi 
#EXTINF:,American.Dad.S05E03 Home Adrone 
M:\+TV+\AMERICAN DAD\American.Dad.S05E03 - Home Adrone.avi 
#EXTINF:,American.Dad.S05E04 Brains Brains and Automobiles 
M:\+TV+\AMERICAN DAD\American.Dad.S05E04 - Brains Brains and Automobiles.avi 
#EXTINF:,American.Dad.S05E05 Man in the Moonbounce 
M:\+TV+\AMERICAN DAD\American.Dad.S05E05 - Man in the Moonbounce.avi 
#EXTINF:,American.Dad.S05E06 Shallow Vows 
M:\+TV+\AMERICAN DAD\American.Dad.S05E06 - Shallow Vows.avi 
#EXTINF:,American.Dad.S05E07 My Morning Straitjacket 
M:\+TV+\AMERICAN DAD\American.Dad.S05E07 - My Morning Straitjacket.avi 
#EXTINF:,American.Dad.S05E08 G-String Circus 
M:\+TV+\AMERICAN DAD\American.Dad.S05E08 - G-String Circus.avi 
#EXTINF:,American.Dad.S05E09 Rapture's Delight 
M:\+TV+\AMERICAN DAD\American.Dad.S05E09 - Rapture's Delight.avi 
#EXTINF:,American.Dad.S05E10 Don't Look a Smith Horse in the Mouth 
M:\+TV+\AMERICAN DAD\American.Dad.S05E10 - Don't Look a Smith Horse in the Mouth.avi 
#EXTINF:,American.Dad.S05E11 A Jones for a Smith 
M:\+TV+\AMERICAN DAD\American.Dad.S05E11 - A Jones for a Smith.avi 
#EXTINF:,American.Dad.S05E12 May the Best Stan Win 
M:\+TV+\AMERICAN DAD\American.Dad.S05E12 - May the Best Stan Win.avi 
#EXTINF:,American.Dad.S05E13 Return of the Bling 
M:\+TV+\AMERICAN DAD\American.Dad.S05E13 - Return of the Bling.avi 
#EXTINF:,American.Dad.S05E14 Cops & Roger 
M:\+TV+\AMERICAN DAD\American.Dad.S05E14 - Cops & Roger.avi 
#EXTINF:,American.Dad.S05E15 Merlot Down Dirty Shame 
M:\+TV+\AMERICAN DAD\American.Dad.S05E15 - Merlot Down Dirty Shame.avi 
#EXTINF:,American.Dad.S05E16 Bully for Steve 
M:\+TV+\AMERICAN DAD\American.Dad.S05E16 - Bully for Steve.avi 
#EXTINF:,American.Dad.S05E17 An Incident at Owl Creek 
M:\+TV+\AMERICAN DAD\American.Dad.S05E17 - An Incident at Owl Creek.avi 
#EXTINF:,American.Dad.S05E18 Great Space Roaster 
M:\+TV+\AMERICAN DAD\American.Dad.S05E18 - Great Space Roaster.avi 
#EXTINF:,American.Dad.S06E01 100 A.D. 
M:\+TV+\AMERICAN DAD\American.Dad.S06E01 - 100 A.D..avi 
#EXTINF:,American.Dad.S06E02 Son of Stan 
M:\+TV+\AMERICAN DAD\American.Dad.S06E02 - Son of Stan.avi 
#EXTINF:,American.Dad.S06E03 Best Little Horror House in Langley Falls 
M:\+TV+\AMERICAN DAD\American.Dad.S06E03 - Best Little Horror House in Langley Falls.avi 
#EXTINF:,American.Dad.S06E04 Stan's Food Restaurant 
M:\+TV+\AMERICAN DAD\American.Dad.S06E04 - Stan's Food Restaurant.avi 
#EXTINF:,American.Dad.S06E05 White Rice 
M:\+TV+\AMERICAN DAD\American.Dad.S06E05 - White Rice.avi 
#EXTINF:,American.Dad.S06E06 There Will Be Bad Blood 
M:\+TV+\AMERICAN DAD\American.Dad.S06E06 - There Will Be Bad Blood.avi 
#EXTINF:,American.Dad.S06E07 The People vs. Martin Sugar 
M:\+TV+\AMERICAN DAD\American.Dad.S06E07 - The People vs. Martin Sugar.avi 
#EXTINF:,American.Dad.S06E08 For Whom the Sleigh Bell Tolls 
M:\+TV+\AMERICAN DAD\American.Dad.S06E08 - For Whom the Sleigh Bell Tolls.avi 
#EXTINF:,American.Dad.S06E09 Fart-break Hotel 
M:\+TV+\AMERICAN DAD\American.Dad.S06E09 - Fart-break Hotel.avi 
#EXTINF:,American.Dad.S06E10 Stanny Boy and Frantastic 
M:\+TV+\AMERICAN DAD\American.Dad.S06E10 - Stanny Boy and Frantastic.avi
DJRavine is offline   Reply With Quote
Old 29-11-2011   #23
New Member
 
Join Date: Nov 2011
Posts: 1
hello

i have change your code
but it dont work for sub folders

http://pastebin.com/KkNVQDaQ
rubafix is offline   Reply With Quote
Old 17-06-2012   #24
New Member
 
Join Date: Jun 2012
Posts: 1
Quote:
Originally Posted by DJRavine View Post
Hey All,

I know this is an old post, but here is my M3U playlist generator...
It will go thru every folder in the base folder, and create a M3U playlist in the output folder...
The generator will parse the Titles in the M3U playlist file and remove invalid chars...
Just add more filetypes if you wish, *.avi *.mkv *.mpg *.mpeg *.wma *.mp4 *.divx...
It will also output a TV.TXT which is a complete listing of all your tv shows...


BATCH FILE CODE
Code:
@ECHO OFF
SETLOCAL EnableDelayedExpansion
CLS

REM !!! SET THE PATHS HERE !!!
SET BasePath=M:\+TV+\
SET PlaylistOutputPath=M:\PLAYLISTS\M3U\
REM !!! SET THE PATHS HERE !!!




ECHO.
ECHO +--------------------------------------------------------
ECHO + Checking files in folders to make into playlists
ECHO +                                          Please wait...
ECHO +--------------------------------------------------------
ECHO.



REM ---------------
REM PROCESS FOLDERS
REM ---------------
SET COUNTFOLDERS=0
FOR /D %%A IN (*) DO (

    REM -------------
    REM SET VARIABLES
    REM -------------
    SET fullfoldername=%%A
    SET fulldir=!BasePath!%%A\
    
    SET /A COUNTFOLDERS+=1
    
    ECHO   MAKING PLAYLIST ^-^> !fullfoldername!.M3U
    CD !fullfoldername!    
    ECHO #EXTM3U > "!PlaylistOutputPath!!fullfoldername!.M3U"
    FOR /F "tokens=*" %%B IN ('DIR /o:n /b *.avi *.mkv *.mpg *.mpeg *.wma *.mp4 *.divx') DO (
        SET fullfilename=%%B
        SET filename=!fullfilename:~0,-4!
        SET filename1=!filename:,=!
        SET filename2=!filename1:^)=!
        SET filename3=!filename2:(=!
        SET filename4=!filename3:- =!
            
        REM ECHO !fullfilename!
        ECHO #EXTINF:,!filename4! >> "!PlaylistOutputPath!!fullfoldername!.M3U"
        ECHO !fulldir!%%B >> "!PlaylistOutputPath!!fullfoldername!.M3U"
    )    
    CD ..
    
    
)
ECHO.
IF %COUNTFOLDERS%==0 ( ECHO    NO FOLDERS FOUND... )
IF NOT %COUNTFOLDERS%==0 ( ECHO    %COUNTFOLDERS% FOLDERS PROCESSED... )

ECHO.
ECHO.

REM -----------------
REM CREATE TV.TXT - A Complete listing of all folders and files
REM -----------------
ECHO   MAKING "!BasePath!TV.TXT" ^-^> A Complete listing of all folders and files
TREE /A /F > "!BasePath!TV.TXT"

ENDLOCAL
ECHO.
ECHO.

ECHO Press ANY KEY to EXIT...
PAUSE >nul

Take the batch file code above and change the following line from:
SET PlaylistOutputPath=M:\PLAYLISTS\M3U\

to
SET PlaylistOutputPath=./

and it will put the .M3U file into the sub folder it parses
oiooioio is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to burn Winamp m3u playlist as Data CD dvine Nero & InCD 4 22-12-2007 18:37
Nero - converting nero .nra file to winamp playlist m3u or b4s or pls goingboing Burning Software 7 22-12-2007 17:54
m3u playlist by Date Created (is it possible?) budbest Newbie Forum 6 03-05-2007 06:49
EAC: m3u playlist morbus General Software 4 07-10-2003 18:33
Nero 6.0.0.1.5 M3U playlist bug Mikoyan Nero & InCD 0 28-09-2003 17:03


All times are GMT +2. The time now is 20:56.
Top