2021-04-14 06:37:44 -05:00
|
|
|
# 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:
|
|
|
|
|
2025-04-27 10:57:41 +03:00
|
|
|
`mocp {{[-S|--server]}}`
|
2021-04-14 06:37:44 -05:00
|
|
|
|
|
|
|
- Add a specific song to the play queue while MOC is in the background:
|
|
|
|
|
2025-04-27 10:57:41 +03:00
|
|
|
`mocp {{[-q|--enqueue]}} {{path/to/audio_file}}`
|
2021-04-14 06:37:44 -05:00
|
|
|
|
|
|
|
- Add songs recursively to the play queue while MOC is in the background:
|
|
|
|
|
2025-04-27 10:57:41 +03:00
|
|
|
`mocp {{[-a|--append]}} {{path/to/directory}}`
|
2021-04-14 06:37:44 -05:00
|
|
|
|
|
|
|
- Clear the play queue while MOC is in the background:
|
|
|
|
|
2025-04-27 10:57:41 +03:00
|
|
|
`mocp {{[-c|--clear]}}`
|
2021-04-14 06:37:44 -05:00
|
|
|
|
|
|
|
- Play or stop the currently queued song while MOC is in the background:
|
|
|
|
|
|
|
|
`mocp --{{play|stop}}`
|
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
- Stop the MOC server while it's in the background:
|
2021-04-14 06:37:44 -05:00
|
|
|
|
2025-04-27 10:57:41 +03:00
|
|
|
`mocp {{[-x|--exit]}}`
|