Music On Console (MOC)

Music On Console (MOC) is a simple music player for the shell.

Installing it is easy:

$ sudo apt install moc

To start it:

$ mocp

MOC has a two-pane interface. On the left is the directory hierarchy of your system. You navigate it to add music files to the playlist. The files in the playlist are displayed in the right pane.

Navigate files and directories in the panes: up and down arrow keys

Switch between panes: tab

Add files inside a directory to playlist: A

Add a file to playlist: a

Delete a file from playlist: d

Play a file: Enter

Pause: Space

Play next file: n

Play previous file: b

Decrease or increase volume: , and .

Clear playlist: C

Toggle play in shuffle order or not: S

Toggle repeat playlist or not: R

To quit the player (playback continues in background): q

To stop playback and kill the player: mocp -x

The full list of keyboard shortcuts can be seen here.

You can also configure MOC by placing a file named config in ~/.moc/. To see the type of configuration options you can specify in this file see /usr/share/doc/moc/examples/config.example.gz.

Tried with: MOC 2.5.0 and Ubuntu 14.04

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s