Music On Console (moc) is a great, simple console based music player for Linux/Unix. It follows the Unix philosophy of doing one thing well (playing audio files), and is a refreshingly clean alternative to other feature bloated media players.
One feature I missed in moc is the ability to play a random album with a single command. Assuming your music directory has an artist/album hierarchy, random albums can be played with the following Bash command (replace /media/store/music with the root path of your music directory):
Launch using your favorite keyboard media key for extra goodness.
One feature I missed in moc is the ability to play a random album with a single command. Assuming your music directory has an artist/album hierarchy, random albums can be played with the following Bash command (replace /media/store/music with the root path of your music directory):
find /media/store/music/* -mindepth 1 -maxdepth 1 | shuf -n1 | xargs -I{} mocp -cap "{}"
Launch using your favorite keyboard media key for extra goodness.