moc

terminal audio player

TLDR

Start MOC
$ mocp
Start server only
$ mocp -S
Play file
$ mocp -l [file.mp3]
Add to playlist
$ mocp -a [file.mp3]
Play/pause
$ mocp -G
Next track
$ mocp -f
Stop server
$ mocp -x

SYNOPSIS

mocp [options] [files]

DESCRIPTION

moc (Music On Console) is a terminal audio player. It uses a client-server architecture.The tool plays in background. Supports many formats via plugins. ncurses interface.

PARAMETERS

FILES

Audio files to play.
-S
Start server.
-l FILE
Play file.
-a FILE
Add to playlist.
-G
Toggle play/pause.
-f
Next track.
-x
Stop server.
--help
Display help information.

INSTALL

sudo apt install qtchooser
sudo dnf install qtchooser
sudo apk add qt5-qtbase-dev
sudo zypper install moc
brew install moc
nix profile install nixpkgs#moc

CAVEATS

Server runs separately. ncurses interface. Plugin-based format support.

HISTORY

MOC was created to provide a console-based music player with background playback support.

SEE ALSO

mpd(1), cmus(1), mpv(1)