randoMp3 is a small Perl script that generates playlists for XMMS.
Version: 2.1randoMp3 is a small Perl script that generates playlists for XMMS. randoMp3 script is given the number of entries that should be in the playlist, and then it searches the filesystem for MP3s and randomly selects MP3s to include.
Operating System: Linux
You also can enter a time limit, which causes the script to stop selecting MP3s when the total playing time of all selected MP3 is approximately equal to the given time limit (+/- 4min).
to run the script you have to install the module 'MP3::Info'. You can do this by typing:
$perl -MCPAN -e 'install MP3::Info'
randomp3.pl -f playlistname -d directory [-t time] [-n number] [-h help]
-f choosen playlistname
-d root directory for mp3s. e.g. /mp3s/
-t the time you want to listen. input in minutes. e.g. 15
-n number of files you want in youre playlist. e.g. 30
-h print help dialog.
you must start the program with -n OR -t
you cannot use both parameters together.
· MP3::Info module