Here you can discuss everything related to MOC which doesn't fit other subforum.
Submitted by zaphod001 on Tue, 2009-06-09 13:12
Hi
I am new to the project. Very like it.
This patch changes strcpy to strncpy in 1 place.
It is working patch. Just want to get agreement about how to change.
Submitted by sanding on Fri, 2009-06-05 02:46
I compiled MOC 2.4.4 on openSUSE 11.0. It stars well, but could neither find nor play mp3……I have installed libmad and libid3tag. When ./configure finished, it said
MOC will be compiled with:
Decoder plugins: vorbis flac
OSS: yes
ALSA: yes
JACK: yes
DEBUG: yes
RCC: no
Network streams: yes
Resampling: no
When I run "mocp -D abc.mp3", client_log said
Jun 5 02:05:08.299767: interface.c:1383 init_interface(): Starting MOC interface...
Jun 5 02:05:08.301408: utf8.c:302 utf8_init(): Using UTF8 output
Jun 5 02:05:08.308882: interface.c:439 update_mixer_name(): Mixer name: PCM
Jun 5 02:05:08.309429: interface.c:1259 get_server_playlist(): Getting the playlist...
Jun 5 02:05:08.309588: interface.c:857 recv_server_plist(): Asking server for the playlist from other client.
Jun 5 02:05:08.309740: interface.c:859 recv_server_plist(): Waiting for response
Jun 5 02:05:08.310418: interface.c:863 recv_server_plist(): There is no playlist
Jun 5 02:05:08.362877: interface.c:3196 dequeue_events(): Dequeuing events...
Jun 5 02:05:08.363371: interface.c:3203 dequeue_events(): done
Jun 5 02:05:09.367254: interface.c:3196 dequeue_events(): Dequeuing events...
Jun 5 02:05:09.367475: interface.c:3203 dequeue_events(): done
Jun 5 02:05:10.371386: interface.c:3196 dequeue_events(): Dequeuing events...
Jun 5 02:05:10.371896: interface.c:3203 dequeue_events(): done
Jun 5 02:05:11.375187: interface.c:3196 dequeue_events(): Dequeuing events...
Jun 5 02:05:11.375434: interface.c:3203 dequeue_events(): done
Jun 5 02:05:12.379242: interface.c:3196 dequeue_events(): Dequeuing events...
Jun 5 02:05:12.379437: interface.c:3203 dequeue_events(): done
Jun 5 02:05:13.383150: interface.c:3196 dequeue_events(): Dequeuing events...
Jun 5 02:05:13.383536: interface.c:3203 dequeue_events(): done
Jun 5 02:05:14.387146: interface.c:3196 dequeue_events(): Dequeuing events...
Jun 5 02:05:14.387379: interface.c:3203 dequeue_events(): done
Jun 5 02:05:15.202882: interface.c:3312 interface_end(): Interface exited
server_log said:
Jun 5 02:05:08.260518: server.c:518 server_error(): ERROR: cannot create client jack server not running?
Jun 5 02:05:08.260806: server.c:410 add_event_all(): No events have been added because there are no clients.
Jun 5 02:05:08.262984: alsa.c:260 alsa_init_mixer_channel(): Opened mixer (PCM), volume range: 0-20
Jun 5 02:05:08.263416: alsa.c:260 alsa_init_mixer_channel(): Opened mixer (Master), volume range: 0-43
Jun 5 02:05:08.296009: audio.c:850 print_output_capabilities(): Sound driver capabilities: channels 1 - 10000, formats: 8-bit signed, 8-bit unsigned, 16-bit signed, 16-bit unsigned, 24-bit signed (as 32-bit samples), 24-bit unsigned (as 32-bit samples) little-endian (native)
Jun 5 02:05:08.296864: audio.c:864 audio_initialize(): Disabling 24bit modes because Allow24bitOutput is set to no.
Jun 5 02:05:08.297113: out_buf.c:66 read_thread(): entering output buffer thread
Jun 5 02:05:08.297332: tags_cache.c:297 reader_thread(): tags reader thread started
Jun 5 02:05:08.297492: tags_cache.c:319 reader_thread(): all queues empty, waiting
Jun 5 02:05:08.297666: tags_cache.c:538 tags_cache_load(): Loading tags cache from /root/.moc/tags_cache...
Jun 5 02:05:08.297861: tags_cache.c:653 tags_cache_load(): Loaded 0 items to the cache
Jun 5 02:05:08.298233: server.c:1215 server_loop(): MOC server started, pid: 6014
Jun 5 02:05:08.298413: server.c:1241 server_loop(): accept()ing connection...
Jun 5 02:05:08.298575: server.c:1249 server_loop(): Incoming connection
Jun 5 02:05:08.298731: tags_cache.c:453 tags_cache_clear_queue(): Cleared requests queue for client 0
Jun 5 02:05:08.301037: server.c:848 gen_serial(): Generated serial 0 for client with fd 3
Jun 5 02:05:08.309903: server.c:1067 handle_command(): Request for events
Jun 5 02:05:08.310083: server.c:639 get_client_plist(): Client with fd 3 requests the playlist.
Jun 5 02:05:08.310247: server.c:649 get_client_plist(): No clients with the playlist.
Jun 5 02:05:15.202740: server.c:978 handle_command(): Exit request from the client
Jun 5 02:05:15.203146: server.c:1269 server_loop(): Exiting...
Jun 5 02:05:15.204655: protocol.c:103 send_int(): send() failed: Broken pipe
Jun 5 02:05:15.204861: tags_cache.c:453 tags_cache_clear_queue(): Cleared requests queue for client 0
Jun 5 02:05:15.205034: server.c:448 server_shutdown(): Server exiting...
Jun 5 02:05:15.205235: out_buf.c:132 read_thread(): exit
Jun 5 02:05:15.205398: out_buf.c:179 read_thread(): exiting
Jun 5 02:05:15.205586: out_buf.c:242 out_buf_destroy(): buffer destroyed
Jun 5 02:05:15.205752: player.c:335 precache_wait(): Precache thread is not running
Jun 5 02:05:15.205939: tags_cache.c:485 tags_cache_save(): Saving tags cache to /root/.moc/tags_cache...
Jun 5 02:05:15.206104: tags_cache.c:340 reader_thread(): exiting tags reader thread
Jun 5 02:05:15.206348: server.c:456 server_shutdown(): Server exited
What should i do next? Thanks!
Submitted by tuxfusion on Mon, 2009-06-01 19:46
Hello all,
I depend a 100 % on software mixer because no other is able to change volume.
This is on a Soundblaster Live! Player , Alsa mixer channels fail to set any master volume
so i suspect the module to be the problem here , I can only alter the headphones input and auxilliary
or wave directly. ( PCM = headphones , Master = no effect )
This is the background story. Now when software mixing was patched into moc i could finally use it.
But what's a real drawback is that i have to switch to console, load moc tab and select software mixing everytime I start the system/moc .
If I don't manually select software mixer again i cannot alter volume with for instance "mocp -v -1" which I have on shortcuts.
Everytime master mixer is loaded as default which is useless on my setup and i guess a thousand others.
Now i have only little C knowledge but i tried to find any line where the order of the mixers is set up so i could write a patch that Software is just plain auto loaded. Well that was without success.
Could someone give me a hint here on how to either alter the config to load software mixer by default ( no success either ), or what to patch where to set software mixer as deafault.
Thanks very much !
Submitted by riesebie on Mon, 2009-05-25 18:44
mocp[24973ROR: Can't receive value from the server.2a4 error:0 in libavcodec.so.52.20.0[b6c33000+4b9000]
FATAL_ERROR: Can't receive value from the server.
This is on my i386 plattform. PPC and AMD64 runs fine.
Any hint?
Thanks Elimar
Submitted by d1337r on Sun, 2009-05-24 13:06
Please help me! I needed a good console music player, and I quite liked moc, but it lags about 2-3 seconds each time i switch a console (Alt-F#).
I tried setting up ALSA as a default output, increasing output and input buffers, and it still lags. Please help me with this problem.
The OS is Ubuntu 9.04 x86_64.
The version of MOC is 2.5.0-alpha3, the one downloaded from the repository.
Submitted by balloooza on Wed, 2009-05-20 17:59
I have many diferent rooms with speakers in them (4) they are all getting a feed of moc music, but I have to vnc to my sound server to get the mixer (mom wants the voloume lower in the family room, I want to rock in my room, dads trying to watcha youtube on the computer downstairs (receiving stream from netjack))
So I need diferent voloume levels.
all I would like is multiple outputs (stereo, and when I start mocp I would use an option like mocp -o 4 (for my four rooms, 8 jack outputs)
then in mocp, use the ; and the ' key to cycle through moc jack outputs, so I could have each session of moc have the voloume controll the room it is running in.
As I mentioned before (previous topic i posted) I would be willing to sponsor this feature, (30$ USD or so)
I appreciate if others would comment if this feature would benifit them.
Submitted by balloooza on Wed, 2009-05-20 17:50
I would like to donate to the project, it there a way I can do this
I will send the administrator of the moc project a question too.
I love all the work that is done, I hope there will be much progress in the future.
I would like to see annother option (I will post annother topic)
Submitted by lost2 on Wed, 2009-05-20 16:29
Hi all,
Using 2.5.0-a3 (or 2.4.4) when I try to browse into a dir that have 2463 items (2219 files) it crashes instantaniously.
With other dirs it work ok. I'm on kubuntu 8.04.
Is there any limit for number of files in a dir ?
Thanks.
Pages