Shuffle a Playlist onto CD-Rs
I gave you a taste of the shuffle function a few posts ago, here's the finished script. Well, finished enough to work. There could be more error checking and it could write the songs to a list so you know what's on the CD, but for my purposes it works great.
To start with I choose some music that I want to shuffle, or if I'm feeling adventurous I'll just use my full playlist. To make a quick playlist from your mp3 collection try something like the following command.
# find /mnt/mp3/P.O.D. -name '*mp3' -size +1024k > pod.m3u
This should find all the mp3s in the P.O.D. directory greater than 1MB. I usually set a minimum file size to prevent things like greetings, hidden empty tracks that often get ripped, and very short songs.
I'm not going to try quoting the script here because it's rather long and I'm finding some problems with the way characters are being displayed on some browser. It's commented quite well and should be easy to read. If you have any questions, email me or post comments here. My email address is anton at lr2 dot com.
