mpg321
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3. tldr-pages
On several platforms
Several platforms
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3. Written (sometime in 1999) to be a drop-in replacement for the (previously) non-free mpg123 player.
Play an audio source exactly n times (0 means forever)
mpg321 --loop n path/to/file1|url1 path/to/file2|url2 ...IdentifyPlay a directory recursively
mpg321 -B path/to/directoryIdentifyEnable Basic Keys (<*> or </> - Increase or decrease volume, <n> - Skip song, <m> - Mute/unmute.) while playing
mpg321 -K path/to/file1|url1 path/to/file2|url2 ...IdentifyPlay files randomly until interrupted
mpg321 --random path/to/file1|url1 path/to/file2|url2 ...IdentifyShuffle the files before playing them once
mpg321 --shuffle path/to/file1|url1 path/to/file2|url2 ...IdentifyPlay all files in the current directory and subdirectories, randomly (until interrupted), with Basic Keys enabled
mpg321 -B --random -K .Identify