Options (5)
-S, --serverbooleanStart the MOC server in the background, without launching the MOC terminal UI
mocp {{[-S|--server]}}-q, --enqueuebooleanAdd a specific song to the play queue while MOC is in the background
mocp {{[-q|--enqueue]}} {{path/to/audio_file}}-a, --appendbooleanAdd songs recursively to the play queue while MOC is in the background
mocp {{[-a|--append]}} {{path/to/directory}}-c, --clearbooleanClear the play queue while MOC is in the background
mocp {{[-c|--clear]}}-x, --exitbooleanStop the MOC server while it's in the background
mocp {{[-x|--exit]}}Examples (8)
Launch the MOC terminal UI
Launch the MOC terminal UI in a specific directory
mocp path/to/directoryStart the MOC server in the background, without launching the MOC terminal UI
mocp [-S|--server]Add a specific song to the play queue while MOC is in the background
mocp [-q|--enqueue] path/to/audio_fileAdd songs recursively to the play queue while MOC is in the background
mocp [-a|--append] path/to/directoryClear the play queue while MOC is in the background
mocp [-c|--clear]Play or stop the currently queued song while MOC is in the background
mocp --play|stopStop the MOC server while it's in the background
mocp [-x|--exit]