Here you can discuss everything related to MOC which doesn't fit other subforum.
Submitted by An_ on Thu, 2008-04-10 12:41
Hi to All.
In moc's config file, that lays in ~/.moc directory I see the following setting-comment:
# Perform character set conversion using iconv() to tags and file names
# read from playlist files. This option has format: FROM:TO.
# To get list of supported sets use the iconv -l command.
I try to use:
CP-1251:UTF-8
WINDOWS-1251:UTF-8
iconv() CP-1251:UTF-8
etc.
But all attempts has one result:
FATAL_ERROR: Error in config file, line 125.
Can anybody explain, how to use this option?
Submitted by banderlog on Thu, 2008-04-03 20:58
will it be? waiting impatiently
Submitted by hiben on Thu, 2008-04-03 09:49
About two months ago I noticed that under heavy CPU load my system went into a state that made it almost unusable; All processes were still doing what they were supposed to do but input from mice and keyboard were only accepted after large delays (5-20min/key).
Today I finally found out what causes the symptoms:
I use MOC in the rxvt-unicode terminal emulation because it supports unicode and pseudo-transparency. I let MOC set the terminals title.
Whenever I listen to streamed music, the title in my window managers (fluxbox) taskbar begins to flicker as if MOC tries to update the title just every time it can. This does not happen with, for example, xterm. I cannot pin down what parts of my system changed two months ago.
I guess this is more a bug in rxvt-unicode but maybe there could be some minimum delay setting for MOC when updating the title ? My current 'solution' is to disable title setting by MOC.
Submitted by knallkopf on Thu, 2008-04-03 03:02
Today, I built a music control widget for awesome (a very nice tiling window manager, btw) and ran into some problems, when I tried to combine a play/pause button that shows ">" when moc is stopped or paused and '||' when it's playing. moc should start playing or unpause if '>' is clicked and pause if '||' is clicked.
The problem is, that there is no single command line switch for this behavior. Using mocp -p
restarts the song over on every click and mocp -G
doesn't start playing if stopped.
This could be overcome easily with a small external script parsing mocp -i
. However I checked the source and it's really easy to do:
--- moc-2.5.0-alpha3/main.c
+++ moc-2.5.0-alpha3-hacked/main.c
@@ -373,7 +373,9 @@
|| !get_int(sock, &state))
fatal ("Can't get data from the server");
- if (state == STATE_PAUSE)
+ if (state == STATE_STOP)
+ interface_cmdline_play_first(sock);
+ else if (state == STATE_PAUSE)
cmd = CMD_UNPAUSE;
else if (state == STATE_PLAY)
cmd = CMD_PAUSE;
It's really just a small hack, but it saved my day. I guess not everybody wants toggle-pause behave that way, but if there are some, maybe this helps.
Submitted by StormBlast on Fri, 2008-03-28 15:16
Got this error:
/usr/share/automake-1.10/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL
/usr/share/automake-1.10/am/depend2.am: The usual way to define `am__fastdepCXX' is to add `AC_PROG_CXX'
/usr/share/automake-1.10/am/depend2.am: to `configure.in' and run `aclocal' and `autoconf' again.
decoder_plugins/sidplay2/Makefile.am: C++ source seen but `CXX' is undefined
decoder_plugins/sidplay2/Makefile.am: The usual way to define `CXX' is to add `AC_PROG_CXX'
decoder_plugins/sidplay2/Makefile.am: to `configure.in' and run `autoconf' again.
+ '[' 1 '!=' 0 ']'
+ cat
If you see errors it maight be necassary to install additional packages like
autoconf >= 2.60
automake >= 1.9
libltdl (libltdl3-dev debian package)
and all -devel packages mentioned in the README file
2.5.0-alpha3 compiles without problems. ArchLinux, libtool 2.2 WITH libltdl.
Submitted by gastondvt on Wed, 2008-03-26 15:06
Hi!
I used MOC for a while in a Mandrake 10.1 keyboardless linux box, only with mp3 support.
Yesterday I tried to install moc WITH ffmpeg support and was very dificult for me because it gave me many errors with ffmpeg libraries, almost all of them related with the ffmpeg compilation itself. But one of the was related to an error like "ffmpeg/avformat.h: no such file" when compiling MOC. My solution was to change #include with #include
in ./decoder_plugins/ffmpeg/ffmpeg.c. it compiled flawlessly!
Now it's working and I can listen online radios and wma's with MOC.
Hope I can help with this, I'm very happy with this program, thank you very very much!
Greetings From Argentina
Gaston
Submitted by jonkristian on Tue, 2008-03-25 19:43
I am using moc to stream stuff from ampache, but I can't get moc to display artist/track correctly, it only display the url.
Any ideas?
Submitted by riesebie on Mon, 2008-03-24 08:17
In Debian we now have ffmpeg libs compiled against libfaad2. Building moc aginst those make playing mpeg4 (m4a) files possible. AAC is not recignized. But if build with both the aac plugin and the ffmpeg plugin, aac is regognized and can be played but m4a files can not. There is something counterproductive.
Elimar
Pages