General discussion

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

input and output buffers

From the ~/.moc/config file:

# Output buffer size in kilobytes. Minimum value is 128KB. */
OutputBuffer = 2048

# Input buffer size in kilobytes. Minimum value is 32KB. */
InputBuffer = 512

# How much to fill the input buffer before playing (in kilobytes)?
# This can't be more than InputBuffer value.
# Remember that for network streams beside the positive effect this also causes
# delay between what you can hear and what is broadcasted.
Prebuffering = 64

What effect does increasing these have? If I have loads of RAM and CPU power I guess I can increase these to say 4096, 1024 and 128. What are these buffers for and is increasing them a good thing? Thanks in advance!!

moc remote via socket

Because i like to create a remote control for moc i've begun to extract all protocol information from the moc code and reassembled it behind a simple C-interface. For example (this works so far):

struct client *cl = cl_init();
cl_connect(cl);

cl_do_pause(cl);
sleep(1);
cl_do_unpause(cl);

cl_close(cl);
cl_free(cl);
printf("ALL OK done\n");
return 0;

But then i've read from Damian Pietras that he think thats not a good idea (in the WindowMaker Topic).
On the other hand its not possible to get the Playlist via the commandline (as far as i know) and i think that its is much easier to implement the interface without calling `mocp` e.g. in a KDA plasma Widget (my main effort).

moc -i failure

When I type run the "moc -i" function, I get this message:

Can't load plugin libmusepack_decoder: libmpcdec.so.5: cannot open shared object file: No such file or directory
Can't load plugin libspeex_decoder: libspeex.so.1: cannot open shared object file: No such file or directory

Does anyone have any ideas on why and how I can fix this. Thanks!

Is this project dead?

I see nobody develops moc. Is this project dead, will it be revived soon?

case insensitive

hi,
Is there a way to make moc not care about case? some of my filenames are all lowercase but their respective playlists have mixed case (for the same filenames) and thus do not play. hope this makes sense.

thanks, moc is great

mocp can not display file names with multibyte character?

Thanks for the perfect work.
I am a chinese user. Under console, zhcon can display cjk file names well,but mocp displays the multibyte characters as "#". I use Debian etch, moc version is 2.4.1. I also compliled the 2.4.3 and 2.5.0 myself,results is the same. Is this a bug, or what should I do ?
Thanks

recursive dirs

I installed the moc player in a linux box and have a quastion:

In my linux, I have created a dir called sounds, with several sub-dirs (one for each group of musics), bacause I have a lot o mp3.
The question is: when I want to play some mp3 files, I need to enter the sub-dir and play them. As soon as the play stops, after the last file, I have to selet another sub-dir to continue to play.
Is there any way to make this automatic, with random selection of any of the all files in all sub-dirs, like mp3blaster?

Thanks to all

Sergio

recursive dirs

I installed the moc player in a linux box and have a quastion:

In my linux, I have created a dir called sounds, with several sub-dirs (one for each group of musics), bacause I have a lot o mp3.
The question is: when I want to play some mp3 files, I need to enter the sub-dir and play them. As soon as the play stops, after the last file, I have to selet another sub-dir to continue to play.
Is there any way to make this automatic, with random selection of any of the all files in all sub-dirs, like mp3blaster?

Thanks to all

Sergio

Pages

Subscribe to RSS - General discussion