Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

41
tldr/linux/mocp Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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's in the background:
`mocp --exit`