Forrest logo
back to the mocp tool

mocp:tldr:46b51

mocp: Clear the play queue while MOC is in the background.
$ mocp --clear
try on your machine

The command "mocp --clear" is used to clear the current playlist in the Music On Console (MOC) player.

MOC is a lightweight, powerful, and easy-to-use command-line audio player for Unix-like systems. It allows you to play audio files from your local system while providing features like playlists, shuffle, repeat, and more.

When you execute the "mocp --clear" command, it instructs MOC to remove all the items from the current playlist. This means that any songs or audio files that were queued to play next will be removed, and the playlist will be empty.

Clearing the playlist can be useful if you want to start fresh and add new songs or if you no longer want to play the current queue of tracks, allowing you to create a new playlist from scratch.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mocp tool