General discussion

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

remote control mocp?

Does mocp (2.3.2) have any facilities for remote control?

I took an old p2-400 256mb laptop w/wireless card, put a basic (no X) Fedora Core 4 on it, then added SlimServer (http://www.slimdevices.com/pi_features.html) and MOC (rolled my own RPM) and jacked an audio cable from the laptop to the stereo. It works fantastically, I have the laptop shoved under the stereo system and play all my MP3 streams right there controlled via webbrowser. Adding an external USB drive today to store local music, add Samba/NFS for management and I'm done. Project time: 1 day. :)

So, I have MOC running in a shell listening to http://localhost:9000/stream.mp3, detached into the background. I really don't have to touch mocp except to adjust the volume every now and then when a random station jacks up their volume or something. What I'd like to do is build some sort of web-able control (SlimServer plugin maybe?) that could interface with MOC on the localhost, maybe sending it commands for this and that (basic stuff, nothing fancy - adjust volume, stop/play).

Hence the question -- is there anything in the code floating around that I could utilize? I haven't started digging into it, thought I'd float the question first here.

thanks!
rivvah

Will moc 2.4.0 get stable til Xmas?

Will moc 2.4.0 get stable til Xmas?

Working with the Playlist

Hallo!

Is there a opportunity to move a song to another position within the playlist?
For example, I´ve got a playlist with
1. song 1
2. song 2
3. song 3
4. song 4

now I want the following order:

1. song 1
2. song 4
3. song 2
4. song 3

Can I do this without clearing the playlist and re-adding the files in my favourite order?
Without this option, working with bigger playlists is nearly impossible for me... or am I just to stupid?

Beside this problem, moc is exatly what I was looking for... great work!

greetings from germany,
milaidin

Starting on the playlist...

Is there any way to make moc start in playlist mode when I (re)start it; typically, if I've got something playing, what I want to see when I (re)connect to it is the playlist, not some random music directory I was last in (or my "main" music directory; yes, I know about the StartInMusicDir option).

Just wondering if I missing a startup or config option.

Thanks!

No decoder plugins have been loaded

Just compiled and installed moc but on trying to run it I get this message:

No decoder plugins have been loaded.

Obviously something elementary but I don't see how to do this. There are decoder_plugins in the source directory but where are they supposed to go?

"mocp -p" does not play previous playlist

Hi,

I'd like to be able to launch moc in the background with "mocp -p" and have it play
from the remembered playlist, but it doesn't work.

Thanks for you help

PS: using debian's 2.3.2-4

patch: memory leak

This patch eliminates memory leak when playing internet stream.


--- player.c.orig 2005-09-09 08:20:13.000000000 +0000
+++ player.c
@@ -378,6 +378,8 @@ static void update_tags (const struct de
show_tags (curr_tags);
tags_changed = 1;
}
+ else
+ free(stream_title);

if (tags_changed)
tags_change ();

http://kala.ee/rix/moc-player-c.patch

moc dying frequently

Hi!

I'm having problems running moc on a discless Mini-ITX box running Debian Stable over nfs. I can start playing a track, but if I try to change tracks while one is running or try to stop the track, moc crashes with one of the following messages:

FATAL_ERROR: Can't send() int to the server.
FATAL_ERROR: Can't receive value from the server.

The problem is not 100% reproducible, but if I change 2-3 songs in rapid succession the program always crashes with one of the messages listed above.
The linux kernel on the machine is not the stock Debian kernel, but based on the 2.6.8 Debian kernel sources with the necessary drivers statically compiled in (for easier tftp-boot). Could this be causing the problems?
I wish I could supply more information, but I can't think of anything else to add.

moc version 2.2.1-2 from the Debian repository.
I could of course compile a newer version from source or use Debian Unstable packages, but I would rather avoid this.

Any suggestions?

Pages

Subscribe to RSS - General discussion