General discussion

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

Playlist, names, time...

Hi!
How can I make Mocp run quicker when loading big playlist - more than 10000 items?
Now it reads all tags and runs in 30 seconds, you agree that it's much too much :/
I'd like to also make playlist names only filenames, not path'n'filenames. How to do it?
Thanks for every reply.
BeteNoire

track sorting order suggestion

moc-2.4.0-2 from Debian Etch

Sorting in files and Playlist pannels will be done not just by filename (or track title).

I suggest following sorting order when read files from directory (when navigate or add directory to playlist):

1. by artist
2. by album (from ID3 or other tag)
3. by track number
4. by song title

Track number will not displayed at all in these lists (it looks ugly when track in not order).

multiple servers?

I'm curious if there is a way or how i would have to change moc in order to allow for multiple servers running at once [by one user].

Basically, I'd like to be able to use moc to serve content to an icecast server, but I'd also like to be able to listen to different content and not distrub that. [I'd use jack output, though I'm also thinking about adding a way to have moc use libshoutcast to send content directly to an icecast server]

-Alex

cyrillic suport in MOC

i would be thankful to the MOC's developers, if they'll try to include cyrillic support for the correct indication of russian-named tags, (it's boring to see ######-##### in cyrillic tags). i think it would be a great gift for the russian users of MOC! maybe there are some patches tor the cyrillic support in MOC? so if it's not difficult for you, please show me some links to it...

.....with much respect, XATRIX

2.4.1 and modplug.patch

Hi all,

I am preparing new Debian 2.4.1 binaries. The modplug patch http://www.tzi.de/~hiben/moc/ doesn't apply?

Elimar

Can I make the playlist scroll down with the currently playing file?

I've been using moc the past three days and am really happy with it, it really does all I require,and more. However when I'm playing a long playlist and it advances down the list it would be great if the list could scroll down with it. That way I could see what file's playing at first glance without having to type G.
I've read the documentation, but didn't see anything about this, is it possible?

Thanks.

True remove patch (shift+d removes file from filesystem)

Hey!

I have found this player not long ago and it is wonderful! The only big thing it lacks is the lack of "remove_from_filesystem" command. Because I download a lot of unsorted music and while listening I want to delete files I dont like (not to waste disk space).

So, I've made a small patch:

http://polosataja-patches.googlecode.com/svn/trunk/moc/moc_2.4.0_true_remove.diff

that adds "D" (shift+d) command that deletes a file (or a directory if it is pressed in the left pannel).

P.S. I'm new to C development, so I want to know, how is it ideologically correct to implement this command? Fork()ing linux standart "rm" command or writing everything yourself using unlink() and rmdir().

jack exponential volume

The volume scaling for the "software mixer" is linear, this makes it so that the volume doesn't really seem to change until you get it very low, it makes more sense to use exponential volume, below is a change i made that makes the software mixer use expoenential volume.

-Alex

Index: jack.c
===================================================================
--- jack.c (revision 1923)
+++ jack.c (working copy)
@@ -21,6 +21,7 @@
#include "common.h"
#include "log.h"
#include "options.h"
+#include

#define RINGBUF_SZ 32768

@@ -274,7 +275,7 @@
static void moc_jack_set_mixer (int vol)
{
volume_integer = vol;
- volume = (jack_default_audio_sample_t)vol / 100.0;
+ volume = (jack_default_audio_sample_t)((exp((double)vol / 100.0) - 1) / (M_E - 1));
}

static int moc_jack_get_buff_fill ()

Pages

Subscribe to RSS - General discussion