General discussion

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

FATAL_ERROR: No decoder plugins have been loaded! - again

hello!

i've just installed 2.5.0-alpha3 and got this message
i found older topic with same problem, but there wasn't any practical solution, but "reinstall"
so i got back to ./configure stage and found:


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

no decoder plugins at all?
proper directory and content exists
somehow it can't see plugins directory?
how to fix it?

Sorting by Track

Hello,

First off, fantastic program! I love it!

The only problem I have is that occasionally when I add an album, the tracks are not sorted by track number. They seem to be sorted randomly. Is there a way to sort by track number? I can't seem to find it in the documentation anywhere.

Thanks in advance, and great job on the program!
Joe

FATAL_ERROR: No valid sound driver

Hi everyone.
I just accounted a rather strange problem. When I run mocp as root everything works perfectly fine but when I try to run it as a normal user I get this following error:

$ mocp
Running the server...
Trying JACK...
Trying ALSA...
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default
Trying OSS...

FATAL_ERROR: No valid sound driver

FATAL_ERROR: Server exited

I don't really know what to do about this. Could someone prehaps be kind and help me.
thanks

Song queue – patch

Dear MOC users,

the feature I missed most in moc player was queueing, and I think I am not the only one who would like moc to have this feature. So I decided to try to implement it and here is the patch. Unfortunately, it can't be considered fully working because I ran into a few problems regarding the queue behaviour. So I post it here for you to try and tell me what do you think about it and how do you think it should work:)

Download:

Usage:
By default, use z to add file to queue, z again to remove the file from queue, Z to clear the queue. These keys can be changed in keymap under keywords enqueue_file, respectively clear_queue. You can enqueue any file, either from playlist or directory listing.

Behaviour:
The queue is local to current playlist. If you clear playlist (on server), the queue is also cleared; if you send different playlist from another client, it is sent with its own queue. This isn't as noticeable if you have SyncPlaylist option se to yes, which I guess is usually the case. If the local queue is non-empty, number of songs in it is displayed between status line and volume bar.

The queue doesn't work when you play a directory (from directory view), not playlist. I'm not sure how it should behave in this case, because when you start playing a directory it is sent as a playlist to the server, but not maintained in any way on the client so it's not possible to have a queue for it (without major modifications to source code). And even if it had it's own queue, if you switched between directory view and playlist and started playing playlist, the queue would be discarded.

Other approach might be to make the queue global -- that it wouldn't depend on the playlist and all clients would share the queue even with SyncPlaylist turned off. This would personally suit me best, but it goes against mocp's client-server conception a bit. What do you think?

Please note that it is not possible to have two instances of the same file in the queue (as in any playlist in mocp).

I didn't test the patch much with SyncPlaylist turned off so it's possible I overlooked some major illogicality when using queue in this mode.

In final version, I would also like to be able to display queue contents (in a way e.g. themes menu is displayed) and be able to reorder/delete the items. Maybe also display the order of the files in queue in "winamp style", i.e. show number next to playlist entry indicating on what position is that file in the queue.

Compilation & testing tips:
Make sure to kill your regular mocp server before starting the patched client. Running patched client against normal server will probably result in crash/freeze of one of them.

It might be a good idea to use different config directory than you normally use. The -C option will accomplish this. If you want to use your regular config directory, there may be tag database libdb version mismatch. In this case, just delete or rename the cache file.

You will want to install the patched mocp in /usr/local, or if your regular mocp is already there, in something like ~/.local/. Pass this directory to --prefix= parameter of ./configure (/usr/local is the default). To uninstall, cd to the directory with source code and do make uninstall.

If you hit some bug, please include logs and/or backtrace. See http://moc.daper.net/node/96

Thanks for any suggestions/bugreports/comments, with your help this may become usable & maybe even integrated into mainline mocp:)

Martin Milata

Can't read directory: No such file or directory

I've been seeing this message everytime i run MOC, detach from the server and reattach. Haven't had any problems that i noted of, though.

Simplified Chinese character can't display properly?

I use MOC on console
But the display suprised me:
The file named in Simplified Chinese can't display properly,it just shows "### - #####"
seek for help!(my english is very poor,I can discrible it any more in english.)

Playlist is sorted before appending

Hey!

I noticed something strange. When I use 'mocp -a /path/to/playlist.m3u' from the command line, the playlist items are sorted before added to the mocp playlist. But if I add it from the mocp user interface (hitting enter or A on the file), then the playlist items are added in the correct order.

Anyone want to comment on this?

^^

Jim

getting USB speakers to work

Hi,

I have bought a set of USB speakers (Logitech Z-5) which I cannot get to work with MOC. I managed to get them working in audiacious. I think to get them working in MOC, I have to have the right settings in ~/moc/config. I tried a couple of settings but never got it to work. I assume I need to fill in this value correctly

# ALSA output device
AlsaDevice = default

Anyone can help me to find the right settings?

Pages

Subscribe to RSS - General discussion