Minimalistic terminal music player that can play all the files randomly

music playersoftware-recterminal

I'm looking for a terminal music player. mpg321/mpg123 is quite what I need, but it can't play all my music directory (which contains child directories). cmus seems to be a bit of an overkill, as there are a lot of features I never use.

I just need a program, that I can give it my music directory and perhaps a --random flag, then it will play everything with random orders. Can someone point out what options I have?

Best Answer

You can easily wrap up a script using find and rl (package randomize-lines on debian).

Something along the lines of:

find "$1" -type f -name *.mp3 | rl | while read FILE; do mpg123 "$FILE"; done
Related Question