Play Music From Terminal in Crunchbang With MOC

MOC (music on console) is a console audio player for LINUX/UNIX designed to be powerful and easy to use.

MOC_palylist

Supported file formats

MP3, Ogg Vorbis, FLAC, Musepack, Speex, WAVE (and other less popular formats supported by Sndfile), MOD, WavPack, AAC, SID, MIDI. Moreover most audio formats recognized by FFMpeg/LibAV are also supported (e.g. MP4, Opus, WMA, APE, AC3, DTS – even embedded in video files). New formats support is under development.

Installing MOC

Since Crunchbang is Debian based, apt-get package manage will do the job for us.

$ sudo apt-get install moc

To launch moc

Run the command below:

$ mocp

Keys for navigating MOC

q – Detach MOC from the server

ENTER – Start playing at this file or go to this directory

DOWN – Move down in the menu

UP – Move up in the menu

PAGE_DOWN – Move one page down

PAGE_UP – Move one page up

HOME – Move to the first item in the menu

END – Move to the last item in the menu

Q – Quit

s – Stop

n – Play next file

b – Play previous file

p – SPACE Pause

f – Toggle ReadTags option

S – Toggle Shuffle

R – Toggle Repeat

X – Toggle AutoNext

TAB – Switch between playlist and file list

l – Switch between layouts

For more keys press after launching moc.

Enjoy 😉