From d1227ba2e3fbece8b77fa5a192913fc8094d2dad Mon Sep 17 00:00:00 2001 From: Teodor Muraru Date: Wed, 1 Jul 2020 13:10:14 +0300 Subject: [PATCH] mpg321: add page (#4082) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Zlatan Vasović --- pages/common/mpg321.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pages/common/mpg321.md diff --git a/pages/common/mpg321.md b/pages/common/mpg321.md new file mode 100644 index 000000000..1c7f83d86 --- /dev/null +++ b/pages/common/mpg321.md @@ -0,0 +1,29 @@ +# mpg321 + +> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3. +> Mpg321 was written (sometime in 1999) to be a drop-in replacement for the (previously) non-free mpg123 player. +> More information: . + +- Play an audio source exactly N times (N=0 means forever): + +`mpg321 -l {{N}} {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}` + +- Play a directory recursively: + +`mpg321 -B {{path/to/directory}}` + +- Enable Basic Keys ( `*` or `/` - Increase or decrease volume, `n` - Skip song, `m` - Mute/unmute.) while playing: + +`mpg321 -K {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}` + +- Play files randomly until interrupted: + +`mpg321 -Z {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}` + +- Shuffle the files before playing them once: + +`mpg321 -z {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}` + +- Play all files in the current folder and subfolders, randomly (until interrupted), with Basic Keys enabled: + +`mpg321 -B -Z -K .`