Contribution

Place for all stuff contributed by users.

Themes

Themes are small files so I just packed them all together in a tar.gz archive without any screenshots. Just unpack them in your ~/.moc directory (so the files are in ~/.moc/themes and you can use them with Theme and XTermTheme options (more information in the README file. Some of them are made with a specific terminal in mind and look good only in that terminal. There is always some information at the top of each file. If you think your theme should be there, just mail me it (daper at daper dot net).

Warning: there is a feature in MOC that can be used to preview the theme without editing the config file (press T), but it is buggy and sometimes not all attributes of characters are visible after changing the theme. The workaround is to change the current directory in MOC few times after selecting a new theme, it seems to help.

Themes 2007-06-17

Scripts

mocstat

Perl script that implements some kind of song change and general status information functionality. It runs in the background and invokes continuously (every 500ms) "mocp --info". The gathered status information will be submitted to two scripts via environment variables. Full description is here.
download

lastfm-mocp

Script for submitting data from MOC to Last.fm by Denis Fernandez Cabrera.
download

xchat-moc.pl

Script for XChat that shows the currently played song. Author: Roman Tworkowski.
download

mocp-xchat.py

Another script for XChat that can display the current song information and allows to control MOC from XChat. Author: kubicz10
download

weechat-moc.pl

Script for WeeChat that show the current song. Author: Jiri Golembiovsky (golemj)
primary download link
local download (may be not up-to-date)

irsii-moc.pl

Little script for irsii that shows the current song. Author: Tomasz Maciejewski
download

iMOCP

Another, a bit more advanced mocp script for irssi, better description is here. Authors: #hack.se
download

mocp_LCD

Script that parses MOC's currently playing information to the LCDd daemon. Author: Robin Pronk
download

moc_g15

Prints information about the currently playing track in MOC on Logitech G15 keyboard's LCD (it shows artist, title and time played/time remaining) and it depends on g15composer to work. Author: Santiago Gil
download

moc-lyrics.pl

If you want to see the lyrics for the song you're listening to, you might be interested in this script. It's a quick hack (I do only quick hacks :D), but it works at least for the most popular tracks. It's a frontend for David Precious' Lyrics::Fetcher CPAN Module, that outputs the lyrics to a pager of your choice. To use it, you can map a function key to it, e.g. F1, select a track, hit it and hope that it's found:

ExecCommand1 = "/home/kb/bin/moc-lyrics --artist %r --title %t"

Author: kb (unixprog [at] googlemail.com)


download

Patches

See the patches page.