1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 15:19:43 +01:00
tldr/pages/linux/mocp.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

783 B

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