m3u generator?
m3u generator?
Does anyone have a neato trick for batch creation of m3u playlist files, where you can point it to a directory, and have it build playlists on a folder by folder/ album basis?
This seems simple and effective, but the m3u is always named the same. This looks powerful, but doesn't seem to support batch creation.
For the first link, I can't figure out the old dir + something verbiage to get it to name the playlist the name of the folder:
**********
echo %~f1
dir /on/b *.mp3 *.ogg > ~nx1.m3u
**********
This seems simple and effective, but the m3u is always named the same. This looks powerful, but doesn't seem to support batch creation.
For the first link, I can't figure out the old dir + something verbiage to get it to name the playlist the name of the folder:
**********
echo %~f1
dir /on/b *.mp3 *.ogg > ~nx1.m3u
**********
Work is the curse of the drinking class
- damaged_one
- Young Pup
- Posts: 74
- Joined: Wed Oct 26, 2005 1:48 pm
Not quite what you're looking for but I use MusicIP Mixer. (http://musicip.com). It analyzes all your music (takes forever). Then you can select a song or group of songs and create a mix based on the "mood" of that song (or songs). You can save it as a playlist or send the mix to your favorite player. (you can also play the mix right in the application) The free version is fairly limited but it's only $20 to buy. It's great for work. I can create new playlists on the fly to suite whatever mood I'm in.
- miftah
- le moth
- Posts: 2703
- Joined: Fri Jan 03, 2003 5:15 pm
- Location: Assland, OH
- Has thanked: 22 times
- Been thanked: 15 times
- Contact:
I don't have anything for this but it seems writing a script for it would be simple enough. We're talking about fixed documents and m3us are just text files. But no, I don't know of one.
Incidentally, if anyone knows of a program for forcing a series of multiple mp3s into a single file, I'd be much appreciated if you could send me in that direction.
Incidentally, if anyone knows of a program for forcing a series of multiple mp3s into a single file, I'd be much appreciated if you could send me in that direction.
"Fear of the bee means the honey is for me" - Jhonn Balance
You're right, it seems simple enough because 'its just text' for playlist files. I'd like the ability to automate each folder/ album in to a playlist, rather than creating them manually. I'm still on the teat of fairuseforwm, so albums are churning in to the collection quickly.
Miftah, I've used Audiograbber for forcing all songs in to one. Only drawback is you have to put them on CD, then it rips them to one file. Outlined here..
Like the playlist thing, I'm sure there's a better answer out there, but that's one I know works.
Miftah, I've used Audiograbber for forcing all songs in to one. Only drawback is you have to put them on CD, then it rips them to one file. Outlined here..
Like the playlist thing, I'm sure there's a better answer out there, but that's one I know works.
Work is the curse of the drinking class
Ok, I'll admit I don't have a clue what an m3u is, but I'm guessing it's a basic text file from what I've seen in the links. If you could point me at real one, I'm sure I could write up a utility in about an hour.
ROb
ROb
"The age demanded that we sing, and cut away our tongue. The age demanded that we flow, and hammered in the bung. The age demanded that we dance, and jammed us into iron pants. And in the end the age was handed the sort of shit that it demanded."
Heh, aperrently I'm completely behind the times when it comes to music. I just figured out the format etc. Guess this is what happens when you spend your day looking at sysfont 
Are all your folders subfolders of the same folder?
ROb

Are all your folders subfolders of the same folder?
ROb
"The age demanded that we sing, and cut away our tongue. The age demanded that we flow, and hammered in the bung. The age demanded that we dance, and jammed us into iron pants. And in the end the age was handed the sort of shit that it demanded."
- miftah
- le moth
- Posts: 2703
- Joined: Fri Jan 03, 2003 5:15 pm
- Location: Assland, OH
- Has thanked: 22 times
- Been thanked: 15 times
- Contact:
Bio, do you think you could do this with the CS and CSII discs we were discussing last week? I'd like to get them in one file to listen to while running and the track breaks, you know....moe flam wrote:Miftah, I've used Audiograbber for forcing all songs in to one. Only drawback is you have to put them on CD, then it rips them to one file. Outlined here..
"Fear of the bee means the honey is for me" - Jhonn Balance
- bio
- Resident Junky
- Posts: 6644
- Joined: Tue Dec 31, 2002 12:24 pm
- Location: Spokane, WA
- Has thanked: 26 times
- Been thanked: 43 times
- Contact:
Um... you're going to have to refresh my memory on that. I'm totally lost as to what you speak (but then again... I'm on drugs... so that's no surprise).miftah wrote:Bio, do you think you could do this with the CS and CSII discs we were discussing last week? I'd like to get them in one file to listen to while running and the track breaks, you know....
"That's What"
- She
- She
Yes, like I'll have a 'Music' folder, and all albums will be separate sub-folders under that. The m3u reference was a little vague, but seems to be the most common playlist file amongst players. Sounds like you've seen the contents, usually just text of the song names in the order you want. Some of mine have extra text, like this:ironpants wrote:Heh, aperrently I'm completely behind the times when it comes to music. I just figured out the format etc. Guess this is what happens when you spend your day looking at sysfont
Are all your folders subfolders of the same folder?
ROb
#EXTM3U
#EXTINF:0,01-goin__against_your_mind.mp3
01-goin__against_your_mind.mp3
#EXTINF:0,02-traces.mp3
02-traces.mp3
etc, etc.
Work is the curse of the drinking class
I think I got it, PM me your email and I'll zip it up and send it to you.
"The age demanded that we sing, and cut away our tongue. The age demanded that we flow, and hammered in the bung. The age demanded that we dance, and jammed us into iron pants. And in the end the age was handed the sort of shit that it demanded."
Re: m3u generator?
I found that same code on google answers for batch file M3U creation.. with right click functionality. very cool. I was bummed to find out about the naming bug... so I fixed it! Here's the repaired code:
The contents of makeplaylist.bat:
====================================================
@echo off
cd %1
echo %~f1
dir /on/b *.mp3 *.ogg > "%~n1".m3u
====================================================
The contents of playlistmaker.reg:
====================================================
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\play]
@="Make playlist(s)"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\play\command]
@="cmd /C C:\\makeplaylist.bat "%L""
====================================================
How to run:
1. Save makeplaylist.bat to C:\makeplaylist.bat
2. Save playlistmaker.reg anywhere you can find it again
3. Double-click playlistmaker.reg and say yes to merge it with your registry.
Now select any number of directories, right-click, and choose the
option "Make playlist(s)."
Enjoy!
Elliot
The contents of makeplaylist.bat:
====================================================
@echo off
cd %1
echo %~f1
dir /on/b *.mp3 *.ogg > "%~n1".m3u
====================================================
The contents of playlistmaker.reg:
====================================================
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\play]
@="Make playlist(s)"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\play\command]
@="cmd /C C:\\makeplaylist.bat "%L""
====================================================
How to run:
1. Save makeplaylist.bat to C:\makeplaylist.bat
2. Save playlistmaker.reg anywhere you can find it again
3. Double-click playlistmaker.reg and say yes to merge it with your registry.
Now select any number of directories, right-click, and choose the
option "Make playlist(s)."
Enjoy!
Elliot
moe flam wrote:Does anyone have a neato trick for batch creation of m3u playlist files, where you can point it to a directory, and have it build playlists on a folder by folder/ album basis?
This seems simple and effective, but the m3u is always named the same. This looks powerful, but doesn't seem to support batch creation.
For the first link, I can't figure out the old dir + something verbiage to get it to name the playlist the name of the folder:
**********
echo %~f1
dir /on/b *.mp3 *.ogg > ~nx1.m3u
**********