TODO - I saved some notes somewhere, which should be posted up here
(on Wikipedia)
http://moc.daper.net/
A decent console music player, which I occasionally use for oldschool music on my Pandora.
- aka moc
-
mocp
- 2016-03-28 - 2.5.0-beta1, on Slackware 14.1
- #2010-01-02[not existing], on (operating system not recorded)
- (date not recorded) - (version not recorded) on Pandora
- 2009-12-29 - 2.5.0-alpha4 on Unity Linux 64bit-beta1
-
2007-06-29 - (version not recorded) on (distribution not recorded)
2016-03-28 - 2.5.0-beta1 ∞
Configuration ∞
Layout changes are not saved when exiting the UI. After some googling, and looking, I learned that useful stuff is found in:
\cp /usr/doc/moc-2.5.0-beta1/config.example ~/.moc/config
\cp /usr/doc/moc-2.5.0-beta1/keymap.example ~/.moc/keymap
-
Music on Console equalizer presets converted from WinAmp.
(date not recorded) - (version not recorded) ∞
moc doesn't save its settings!
l ^f ^t T -- transparent-background
Also do not change the window title to be the name of the song.
2009-12-29 - 2.5.0-alpha4 ∞
This has a HELLISH amount of dependencies to track down and install. After all that, it was quite a nice program once I got it working.
I liked it but I found the blue background reminiscent of Novell Netware.
Berkeley DB: Was downloaded from www.oracle.com/technology/software/products/berkeley-db/db/index.html
tar xvvzf db-4.8.26.NC.tar.gz cd db-4.8.26.NC cd build_unix ../dist/configure make [[su]] make install export LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.8/lib/" # Solves another issue where /usr/lib64/libdb-4.7.so is found but not /usr/lib64/libdb-4.8.so ln -s /usr/local/BerkeleyDB.4.8/lib/libdb.so /usr/lib64/libdb-4.8.so # lib64ltdl-devel solves:: decoder.c:21:18: error: ltdl.h: No such file or directory # lib64mad-devel is to have at least one plugin, in this case so I can play mnp3s smart install lib64ltdl-devel lib64mad-devel
Madplay mp3 plugin ∞
http://www.underbit.com/products/mad/
# Solves # cpp: error trying to exec 'cc1plus': execvp: No such file or directory smart install gcc-c++ # Requires libmad # https://sourceforge.net/projects/mad/files/libmad/0.15.1b/libmad-0.15.1b.tar.gz/download wget sourceforge.net/projects/mad/files/libmad/0.15.1b/libmad-0.15.1b.tar.gz/download tar xvvzf libmad-0.15.1b.tar.gz cd libmad-0.15.1b ./configure make
gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_DEFAULT -Wall -g -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c -fPIC -DPIC -o .libs/version.o cc1: error: unrecognized command line option "-fforce-mem" make[2]: *** [version.lo] Error 1 make[2]: Leaving directory `/mnt/sdx/x/libmad-0.15.1b' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/sdx/x/libmad-0.15.1b' make: *** [all] Error 2
It looks like this is a bug in libmad.. (415279 · 5626) where a feature was removed from gcc and libmad is still calling for it. Since there's no way to disable that functionality, let's hack ./configure
. I edited ./configure and I removed line 19103:
optimize="$optimize -fforce-mem"
./configure make su make install
- libid3tag:
smart install lib64id3tag-devel
- Madplay:
wget sourceforge.net/projects/mad/files/madplay/0.15.2b/madplay-0.15.2b.tar.gz/download tar xvvzf madplay-0.15.2b.tar.gz cd madplay-0.15.2b ./configure make su make install
- Alsa
I need to have alsa working, to solve:
FATAL_ERROR: No valid sound driver
I can see that it's not working yet:
---------------------------------------------------------------- MOC will be compiled with: Decoder plugins: mp3 OSS: yes ALSA: no JACK: no DEBUG: yes RCC: no Network streams: no Resampling: no ----------------------------------------------------------------
smart install lib64alsa-oss-devel
- For moc itself, I did
./configure
Be sure examine the output. I keep getting a blank list of decoder plugins like below until I got madplay installed properly:
---------------------------------------------------------------- MOC will be compiled with: Decoder plugins: OSS: yes ALSA: no JACK: no DEBUG: yes RCC: no Network streams: no Resampling: no ----------------------------------------------------------------
make su make install
run it with:
mocp
Sweet, it works! Nice and clean look.
- The blue is too bright for me.
- Should have insert and delete working.
-
Too bad it doesn't have mouse support like I've seen elsewhere.. but I can't remember where. It's not cplay.
2007-06-29 - (version not recorded) ∞
-
Requires
apt-get install gstreamer-mad
?? I don't know how to provide the library for it.
Last updated 2021-08-24 at 18:52:15