MOC 2.3.0-alpha2 was released, the changes are:

  • Sample rate conversion using libsamplerate and some sound conversions like 16bit -> 24bit etc. With 24bit sound cards 24bit output is used with mp3. Jack can be used with any stereo files.
  • Support for mp3 internet streams.
  • Added support for speex format (without seeking).
  • Reading tags in internet streams from icy-metadata.
  • Colors can be redefined in themes using 'colordef COLOR = R G B' (works for terminal that can change the colors).
  • Print also the file name with --info.
  • Improved Jack support - less xruns, but a known bug is that played sound has clicks.
  • Support for 24bit flac files (not tested).
  • Added SeekTime option: how fast the seeking is. (Kamil Tarkowski)
  • Recognize internet stream format by MIME type.
  • Accept "ICY 200 OK" HTTP response for compatibility with IceCast.
  • A list of sound drivers can be used instead of only one driver in the configuration file. The first working driver will be used.
  • Alsa mixer has always 0-100 range despite the actual device range.
  • Added --toggle-pause command line option.
  • Added ResampleMethod and ForceSampleRate configuration options.
  • Don't block the audio device when paused. Based on a patch by hondza.
  • Don't try to use colors on black/white terminals.
  • Treat an option that is set in the config file more than once as an error.
  • Print descriptions for some errors in the config file.
  • Added HTTPProxy option.
  • Better error messages in the Ogg plugin.
  • Better detecting Ogg vorbis stream by content.
  • Decreased the time to wait for the pcm to become ready to get samples in alsa. This helps with underruns.
  • Show the bitrate and the sample rate with --info regardless of availability of other parameters.
  • Fixed protect attribute in themes.


New bugfix release: 2.2.2. Most important changes are that MP3 files with bad CRC checksums produced by some broken encoders can be now played, and MOC 2.2.2 works fine on NetBSD, For the full list of changes see the changelog.


New alpha version (2.3.0-alpha1) was released. Some of the new features for 2.3 are present, but I think it will take more time to make 2.3.0. The improvemenets are:

  • Network streams (shoutcast, icecast, regular HTTP, FTP): currently only ogg vorbis is supported. This mechanism is a bit primitive, like in ogg123. To use it, you can load an m3u file with a URL or use the 'o' command.
  • Plugins: to drop dependencies from many exotic libraries, support for file formats was moved to shared libraries. This should help making MOC packages in future when more formats will be added.
  • Error messages for precached files are not displayed while other file is being played.
  • Input buffer in a separated thread is used for reading files (new options: InputBuffer and Prebuffering).
  • JACK output - currently only for 44.1KHz (by Alex Norman).
  • New theme: Yellow/Red (by Morten Grunnet Buhl).
  • Added -A command line option and ASCIILines config option that disables usage of graphic characters to draw lines.
  • The search command filters out not matching elements from the menu and allows to walk through the items like in the regular menu.
  • Added commands to set volume from 10% to 90% in 10% steps, default bindings are ALT-1 to ALT-9.
  • Added commands to quickly go to a selected directories (by Alex Norman).
  • Added --next and --previous command line options (by Alex Norman).
  • Added --info command line option that prints all information about the currently played file. (Based on the code by Michael Banks)
  • Added an option to ignore CRC errors in mp3 files (Mp3IgnoreCRCErrors - set to yes by default, like most players do).
  • Some documentation in Doxygen format with a config file to generate it.
  • Error messages for precached files are not displayed while other file is being played.
  • MOC now compiles using libtool.


MOC 2.2.1 was released, this version fixes some minor bugs. There are also some changes that allow compilation on NetBSD, but there is still a problem with screen updates. For the list of changes, see the changelog.

Packages in Debian unstable

Debian packages created by Elimar Riesebieter are now in Debian unstable!



2.2.0 is here! The list of changes is the longest from all releases. Below are the most important new features (the full list also with bug fixes is here).

  • Support for new formats: FLAC and various less popular (AU, AIFF, VOC, etc. using libsndfile). Libsndfile also improved support for WAV.
  • Custom keymaps can be used.
  • Synchronizing the playlist between clients (interface instances).
  • Going to a directory by typing the path with file-name completion (i command).
  • Ability to use default (transparent) and grey color. (Marcin Michałowski).
  • New color themes: transparent background (Marcin Michałowski), nightly_theme (Wim Speekenbrink), green_theme (Jacek Lehmann).
  • MOC should now work on big-endian processors.
  • G command: go to a directory when the currently played file is.
  • U command: go to '..'.
  • Fast, silent seeking ('[' and ']' keys).
  • A bar showing time of the current file.


The last beta was released: 2.2.0-beta2. This version contains a few fixes for beta1 bugs:

  • Repeat without AutoNext plays a song in loop.
  • Fixed deleting items from the playlist.
  • Synchronizing the playlist between clients is faster and works better.
  • Fixed handling a playlist file as command a line argument.
  • Fixed behaviour of --append --clear and --play.
  • Fixed some races between clients.
  • Fixed compilation with --disable-debug.
  • Fixed --version information.
  • Fixed a memory leak with SyncPlaylist turned off.
  • Updated the man page.

Debian packages

Thanks to Elimar Riesebieter, we have Debian packages available, see the download section. I've also made PGP signatures of all files in the ftp repository for those, who want to feel a bit more secure. ;)



Subscribe to MOC - music on console RSS