It's a little CGI perl script that I knocked up to make it easier to listen to all the new music that arrives on my computer. Basically, it generates an m3u playlist for you, choosing the songs randomly from a list that you provide. Put like that, I'm not sure why it took me any time to write...
newmusicradio.pl. That's it. All nicely self-contained in a single perl file.
You might also want a look at the script I use to download the latest tunes from a collection of MP3 blogs I subscribe to, and to build the list of recently changed files. It's an extended version of what Jeffrey Veen suggested recently.
$mp3_tag_available to 0$mp3list to point to the list of mp3s that
NewMusicRadio will choose from. This is just a text file of full
filenames (i.e. path and filename, like
"/home/musicfiles/song.mp3"), with one filename to a
line.$deleteList to point to a file which will be used
to keep a list of files which will be excluded from playlistsAny changes and updates will be trumpeted on my blog here.
To-do