mocp:tldr:84c41
The command "mocp --enqueue ${path-to-audio_file}" is used to add an audio file to the playlist of the Music On Console Player (MOC).
Here's a breakdown of each component of the command:
-
"mocp": This is the actual command to run the Music On Console Player.
-
"--enqueue": This is an option or flag provided to the "mocp" command. It instructs MOC to enqueue the specified audio file instead of immediately playing it. Enqueuing means adding the file to the existing playlist without interrupting the current playback.
-
"${path-to-audio_file}": This is a placeholder representing the path to the audio file you want to add to the playlist. You need to replace "${path-to-audio_file}" with the actual file path and name (e.g., /home/user/music/song.mp3).
In summary, by running this command and providing the path to an audio file, you are instructing MOC to add that file to the playlist for future playback without interrupting the currently playing track.