You have a folder on your hard drive where you store your MP3s. You would like to play these songs in a random order from the command-line with a simple command.
-p stands for “play”. The script requires
“EasyTAG is a utility for viewing and editing tags for MP3, MP2, MP4/AAC, FLAC, Ogg Vorbis, MusePack, Monkey’s Audio and WavPack files. Its simple and nice GTK+ interface makes tagging easier under GNU/Linux or Windows.” (source)
sudo apt-get install easytag
With EasyTAG you can process your mp3 files in batch mode. For instance, you can set the album name for several files with just one click.
Tip: if you want to edit the MP3s in the current directory, launch the application with “
ffmpeg -i input.avi -f mp3 output.mp3
This thing stopped working for me under Ubuntu 12.04. However, I had luck with “soundconverter” to extract mp3 from flv files.
If you have problems with ffmpeg, try to compile it yourself.