General discussion

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

Feature request: Manage queue while searching

When having large playlists it sometimes is hard to find a specific song.
But while searching for a song, it is not possible to add/remove one to/from the queue.

Would be great if that was possible! :)

MOC Theme question

Hi!

I LOVE MOC! Thank you Damian!

How can i change the setting for a selected file? I dont want to change the trackname itself (this is done through `selected file`), i want to change the color of the duration and the format field. Its a dark blue (like rgb(0,0,255)) by default. Let me show you, what i mean:


MyMedia/ ││ $TRACKNUMBER /path/to/my/track.ogg [$DURATION|$FORMAT]

I want to change the color of $TRACKNUMBER, $DURATION and $FORMAT, wich are enclosed in brackets. I want to change the color of the brackets also. I looked through the themes and couldnt find one that changed these values.

Thanks in advance!

MOC alpha4 does not work

I installed ubuntu 10.10 with Turkish language and locale settings. (a fresh install)

Neither the MOC alpha4 from ubuntu 10.10 repos nor the one I compiled from svn works. Since MOC alpha4 works with the English ubuntu, I assume that this is a problem with the Turkish version.

hasan@narval:~$ mocp

FATAL_ERROR: Tried to get wrong option 'ID3v1TagsEncoding'!

If I add the default config file to ~/.moc then I get:

hasan@narval:~$ mocp
Wrong option name: 'Mp3IgnoreCRCErrors'.
FATAL_ERROR: Error in config file, line 24.

I tried commenting out various lines in the config file and these are the errors I get along the way:

hasan@narval:~$ mocp
Wrong option name: 'InputBuffer'.
FATAL_ERROR: Error in config file, line 49.

hasan@narval:~$ mocp
Wrong option name: 'StartInMusicDir'.
FATAL_ERROR: Error in config file, line 120.

hasan@narval:~$ mocp
Wrong option name: 'ASCIILines'.
FATAL_ERROR: Error in config file, line 171.

hasan@narval:~$ mocp
Wrong option name: 'CanStartInPlaylist'.
FATAL_ERROR: Error in config file, line 277.

hasan@narval:~$ mocp

FATAL_ERROR: Tried to get wrong option 'InputBuffer'!

Then I deleted ~/.moc/config and gave the command mocp -D to get:

hasan@narval:~$ mocp -D
Loading plugins from /usr/lib/moc/decoder_plugins...
Loading plugin libaac_decoder...
OK
Loading plugin libflac_decoder...
OK
Loading plugin libmodplug_decoder...
OK
Loading plugin libmp3_decoder...

FATAL_ERROR: Tried to get wrong option 'ID3v1TagsEncoding'!

Where is mocp supposed to create the log files? Neither "man mocp" nor the website tells where to find them. I looked all around but couldn't find any log files. It definitely did not create logs in the current (~) directory.

Then I installed

moc_2.5.0~alpha3+svn20080629-2ubuntu1_amd64.deb

and some dependencies from ubuntu 9.10 repos. This version works in my ubuntu 10.10 without any problems.

So alpha3 works in ubuntu 10.10 with Turkish settings but alpha4 fails to work.

Anything I can do to help devs to pinpoint the problem?

AC3 and DTS Support

ffmpeg supports ac3 and dts, yet MOC doesn't show it in the music browser. Here's a small code edit to allow it.

After

else if (!strcasecmp(ext, "m4a"))
strcpy (buf, "M4A");

Put

else if (!strcasecmp(ext, "ac3"))
strcpy (buf, "AC3");
else if (!strcasecmp(ext, "dts"))
strcpy (buf, "DTS");

Replace

|| !strcasecmp(ext, "mp4");

With

|| !strcasecmp(ext, "mp4")
|| !strcasecmp(ext, "ac3")
|| !strcasecmp(ext, "dts");

For surround sound dts files, most of the channels got dropped, till i came across this hack.

/* hack for AC3 */
if (data->enc->channels > 2)
data->enc->channels = 2;

I commented it out, and now they work.

Support for GameMusicEmu audio library

Hi!

I'd like to know if there will be a posibility of supporting GameMusicEmu audio library (code.google.com/p/game-music-emu). I have many chiptunes in my collecion. including SIDs (which MOC can play), NSFs and SPCs.

There's no good chiptune player for Linux except AudioOverload (which is GUI based and is not open source) and Audacious plugin which has GUI too. Both of them are using this library to playback. It would be a great addition to allow playback of those types of files in command line based environment.

Thanks in advance.

Unable to compile with alsa support

I have been unable to install MOC as the debian repositories listed in the Download tab give me an error. So I have been trying to compile it myself and have run across the following problem. I am unable to get MOC to recognise my alsa install in Cruchbang Statler.

----------------------------------------------------------------
MOC will be compiled with:
Decoder plugins: mp3
OSS: yes
ALSA: no
JACK: no
DEBUG: yes
RCC: no
Network streams: no
Resampling: no

----------------------------------------------------------------

Despite the fact that the audio driver in use is alsa any ideas how I can fix this?

Currently I can run the install but it gives out the following error:

Running the server...
Trying OSS...

FATAL_ERROR: No valid sound driver

FATAL_ERROR: Server exited

I want it to use alsa is there a way to force this?

Jeeves

Feature Request: Zero-padded track numbers

I wish MOC could show the track numbers from the flac/mp3/ogg tags as

07 title ...
08 title ...
09 title ...
10 title ...
11 title ...
12 title ...

rather than

7 title ...
8 title ...
9 title ...
10 title ...
11 title ...
12 title ...

It would be nice to add a setting in the config file for this.

« libffmpeg_decoder.so: undefined symbol: avcodec_decode_audio » when trying to play aac files

Hi,

The server throws that error and crashes whenever I try to play an aac file (the high efficiency variety). This with moc 2.4.4 (latest stable) configured with:
./configure --prefix=/usr --without-rcc --without-aac \
--with-oss --with-alsa --with-jack --with-mp3 \
--with-musepack --with-vorbis --with-flac --with-wavpack \
--with-sndfile --with-modplug --with-ffmpeg --with-speex \
--with-samplerate --with-curl
(official archlinux x86_64 package [1])

Actually the complete error is:
mocp: symbol lookup error: /usr/lib/moc/decoder_plugins/libffmpeg_decoder.so: undefined symbol: avcodec_decode_audio

As for the latest alpha (2.5.0 alpha4 [2]) and latest svn revision (2255 [3]), they don't even show the aac files in the browser.

(I modified the configure flags for the alpha to include --with-ffmpeg and --with-sndfile)

ffmpeg is from svn, revision 25679. [4]

So, what to do?

[1] http://repos.archlinux.org/wsvn/packages/moc/trunk/PKGBUILD
[2] https://aur.archlinux.org/packages.php?ID=15389
[3] https://aur.archlinux.org/packages.php?ID=12793
[4] http://repos.archlinux.org/wsvn/packages/ffmpeg/trunk/PKGBUILD

Pages

Subscribe to RSS - General discussion