General discussion

Here you can discuss everything related to MOC which doesn't fit other subforum.

M4A with Apple Loseless (alac) - tags confused

Hi!

I have some m4a files with alac data with plenty of tags. However MOC displays contents of tag "composer" instead of "artist" in its playlist. I am using svn version of moc.

Also - I had to disable/delete AAC plugin in order to get ALAC to play by ffmpeg. Maybe with recent versions of ffmpeg, ffmpeg plugin should be prefered over aac?

FATAL_ERROR

i have installed minimal ubuntu 9.10 on my desktop.

When i run "mocp" from terminal and go to a directory i get this error:

FATAL_ERROR: Can't receive value from the Server

But when i do "sudo mocp". It allows me to play songs perfectly.

Anyone know what this error is?

Thank you advanced.

Sorting the playlist

I started using this player recently and I must say I'm impressed, it's very good, even for someone like me that never used a console based player regularly. I just wanted to know if it's possible to sort the playlist, it would be very useful, as I added a lot of files from various folders and they didn't sort automatically.

moc-stable/unstable in Fedora 12

Hello everybody!

At the moment, I am trying to build a moc-rpm in Fedora 12, but I have some problems as I see related to the ffmpeg/ffmpeg-devel-packages in Fedora.
It has been possible to build the rpms without ffmpeg-Support, but this is not what I want.

ffmpeg-Output:
FFmpeg version SVN-r20372, Copyright (c) 2000-2009 Fabrice Bellard, et al.
built on Nov 7 2009 17:50:32 with gcc 4.4.2 20091027 (Red Hat 4.4.2-7)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib --mandir=/usr/share/man --arch=i686 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' --extra-version=rpmfusion --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avfilter-lavf --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib --cpu=i686 --enable-runtime-cpudetect
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.37. 1 / 52.37. 1
libavformat 52.39. 2 / 52.39. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1. 4. 1 / 1. 4. 1
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0

I asked an Ubuntu-Karmic-User to build it and he had no problems.
His ffmpeg:
FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5+svn20090706-2ubuntu2 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --extra-cflags=-I/build/buildd/ffmpeg-0.5+svn20090706/debian/include --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Oct 13 2009 22:15:16, gcc: 4.4.1

I am not a programmer, so I think, I am not able to change anything in src/moc-2.4.4/decoder_plugins/ffmpeg/ffmpeg.c, but I guess, it is just an include-Problem (wrong path?).

I would like to help having moc in the official rpmfusion-repos, because it is my favourite musicplayer and I do not want other users to have to compile it on their own.

This is my first time building a package and not just compiling something just for me, and I think, I cannot handle this without help.

If my English is a little bad, please apologize. I am no native English speaker.

Thanks for help

sash_

mocp caching support.

Whenever I start mocp (along with the server) it caches all the names (also id3 tags?) of the files in the folder. When I do ^Q it loses the cache and I have to recache everything. This would be ok, but one of my folders is huge, and takes a considerable amount of time to process. Is there a way I can store the cache of the current folder on exit? (my hdd would especially appreciate it :p)

midi files

is it possible to implement a suitable midilib to play midi files
Ive tried timidity and it doesnt work at all

I use ubuntu and there must be some midilib out there that
can work with mocp for this purpose

right now i use gnu's wildmidi
at least it works !

mocp in no gui mode...

Hello,
I have a idea using old computer like mp3 player, start automatically, and managed by cronetab.

If i use mocp, it works fine. But i need something like this:

mocp -S
mocp --play [file]
mocp --stop
mocp --play [catalog]
mocp --stop
mocp --play [file]
etc...
...

How do that? When I try use mocp -p /home/file.mp3 nothing is happens.
Is possible playing music from directory (recursively) ? How add directory (with all subdirectories) to the playlist, save them, and play after?

What I'm doing wrong?

UTF8 bug fix

Hello.

This patch fixes a problem with utf8 strings. If the string was utf8
and utf8 wasn't enabled, the highlighted line would be longer than the
frame limits writing spaces over other elements on the screen.

Best regards

Nuno Cardoso

Index: utf8.c
===================================================================
--- utf8.c (revision 2236)
+++ utf8.c (working copy)
@@ -405,17 +405,24 @@
size_t strwidth (const char *s)
{
wchar_t *ucs;
+ char * no_utf8=NULL;
size_t size;
size_t width;

assert (s != NULL);

size = xmbstowcs (NULL, s, -1, NULL) + 1;
+ if (!using_utf8)
+ s = no_utf8 = iconv_str (iconv_desc, s);
+
ucs = (wchar_t *)xmalloc (sizeof(wchar_t) * size);
xmbstowcs (ucs, s, size, NULL);
width = wcswidth (ucs, WIDTH_MAX);
free (ucs);
+ if (no_utf8 != NULL)
+ free(no_utf8);

return width;
}

Pages

Subscribe to RSS - General discussion