Here you can discuss everything related to MOC which doesn't fit other subforum.
Submitted by NCardoso on Fri, 2010-01-15 13:52
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;
}
Submitted by grumpthehermit on Thu, 2010-01-14 00:02
Hello All,
I have done a search but can't seem to find out how to get MOC to connect to a shared fies I
have on another PC.
Is this possible ? ( I'm using Ubuntu )
I have MOC installed on two PC's one upstairs with the files locally and a Samba share set up so
I can see the files on the downstairs PC.
Rhythmbox can see the share on the downstairs PC and I can play the files that way, but I want
to access the share with MOC.
Thanks
Simon
Submitted by lenoch on Sat, 2010-01-09 17:06
Hi daper,
I ran into an "common.c:57 fatal(): FATAL ERROR: Bad whence value: -1225471296" error. It is caused by an incorrect order of parameters passed to io_seek() in mp3.c.
When I'm at posting patches, here is a fix along with a couple of other one-liners (against the latest rev. 2239): http://www.fi.muni.cz/~xsvobo15/lenoch.zip
The patch changes some files' encoding from ISO-8859-2 to UTF-8 (I think that's desired), contains typo fixes in comments and a fix for a warning in ffmpeg.c.
Submitted by gamaral on Sat, 2010-01-09 10:41
I have had this problem for a while, but today I noticed that it has something to do with the album art in the id3 tags; if the art is big (above 300x300 ish). I was able to fix most of my songs by reducing the iTunes supplied artwork for a smaller version.
I looked at the MP3 decoder code but I have no idea where to start looking.
The garbage scratching sound is always at start (maybe it reads the tag as sound data or something), it stops if I strip the artwork from the tag.
Ant hits will be appreciated :)
Submitted by Bach on Fri, 2010-01-08 09:53
Hello.
I am trying to open a nautilus window of the folder MOC is playing. I tried to put
ExecCommand2 = "nautilus %f"
in the config file. But %f passes not only the path of the folder but also the name of the file. Is there a way to pass only the path of the folder to nautilus?
Submitted by chombee on Sat, 2010-01-02 15:47
If I'm listening to say a podcast, or to the long playlist of ambient music that I play while I work, then I always want to resume playback where I left off. I know moc remembers its state so I can pause playback and close moc, and come back later and resume. But what I want is to be able to resume where I left off even if I've played some other file or playlist in the meantime, or turned the computer off. Moc should remember the last position reached on a per-file and per-playlist basis and have an action to resume a file or playlist where you left off, rather than playing it again from the start.
Submitted by riesebie on Fri, 2010-01-01 12:23
Latest svn version 2235 doesn't compile:
/bin/sh ../../libtool --tag=CXX --mode=compile x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -DHAVE_UNIX -DHAVE_UNIX -I../.. -g -O2 -MT libsidplay2
libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -DHAVE_UNIX -DHAVE_UNIX -I../.. -g -O2 -MT libsidplay2_decoder_la-sidplay2.lo -MD -MP -MF .d
In file included from ../../files.h:5,
from sidplay2.h:28,
from sidplay2.cc:14:
../../lists.h:12: error: '_Bool' does not name a type
../../lists.h:23: error: expected ',' or '...' before 'new'
../../lists.h:25: error: expected ',' or '...' before 'new'
../../lists.h:28: error: expected ',' or '...' before 'new'
../../lists.h:30: error: expected ',' or '...' before 'new'
Submitted by macjinlan on Fri, 2010-01-01 09:16
Hey everyone.
I got one not fixable problem with MOC player and sound controller (KMix): Console players are use the keyboard control, so when i try to get more sound in my console player (cmus or MOC), my Kmix controller "Master" input is bumping down or up, i need only console player sound "bumping". Is this fixable?
Thank you.
Pages