From 7755ac87fb1672bb9dc50b8df7159c11e36ef9af Mon Sep 17 00:00:00 2001 From: Thomas Museus Dabay <41303137+thomas-m-d@users.noreply.github.com> Date: Wed, 14 Apr 2021 06:37:44 -0500 Subject: [PATCH] mocp: add page (#5734) --- pages/linux/mocp.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/linux/mocp.md diff --git a/pages/linux/mocp.md b/pages/linux/mocp.md new file mode 100644 index 0000000000..9f7574e3ce --- /dev/null +++ b/pages/linux/mocp.md @@ -0,0 +1,36 @@ +# mocp + +> Music on Console (MOC) audio player. +> More information: . + +- Launch the MOC terminal UI: + +`mocp` + +- Launch the MOC terminal UI in a specific directory: + +`mocp {{path/to/directory}}` + +- Start the MOC server in the background, without launching the MOC terminal UI: + +`mocp --server` + +- Add a specific song to the play queue while MOC is in the background: + +`mocp --enqueue {{path/to/audio_file}}` + +- Add songs recursively to the play queue while MOC is in the background: + +`mocp --append {{path/to/directory}}` + +- Clear the play queue while MOC is in the background: + +`mocp --clear` + +- Play or stop the currently queued song while MOC is in the background: + +`mocp --{{play|stop}}` + +- Stop the MOC server while it is in the backgroud: + +`mocp --exit`