Skip to content

Commit

Permalink
mocp: add page (tldr-pages#5734)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-m-d authored Apr 14, 2021
1 parent a128d2c commit 7755ac8
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pages/linux/mocp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# mocp

> Music on Console (MOC) audio player.
> More information: <https://manned.org/mocp>.
- 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`

0 comments on commit 7755ac8

Please sign in to comment.