You are not logged in.

#1 2010-06-14 07:24:02

F
Member
Registered: 2006-10-09
Posts: 322

ncmpc sound issues.

Hi all, I have setup MPD and Icecast on my server (running Gentoo) and when I'm on the Gentoo machine I can run ncmpc and listen to the music. However, what I would like is to be able to access the playlist and listen to the music from my laptop (running Archlinux), but for some reason I can't get any sound.
ncmpc loads up fine and I can see and alter the playlist, but no sound comes out.
I verified that I could infact get sound by using 'mplayer --playlist http://server/mpd.ogg.m3u', which works.

I'm not sure what I'm doing wrong. I have insalled MPD and ncmpc on the laptop. I am not using the config for ncmpc (it didn't seem to include any sound options), but am using an mpd.conf which I am posting here.

log_file "/var/log/mpd/mpd.log"
pid_file "/var/run/mpd/mpd.pid"
state_file "/var/lib/mpd/mpdstate"

user "mpd"

input {
        plugin "curl"
}

# I tried this but it didn't work
#audio_output {
#       type            "alsa"
#       name            "My ALSA Device"
#       device          "hw:0,0"        # optional
#       format          "44100:16:2"    # optional
#       mixer_device    "default"       # optional
#       mixer_control   "PCM"           # optional
#       mixer_index     "0"             # optional
#}

audio_output {
    type "alsa"
    name        "My ALSA Device"
    options        "dev=dmixer"
    device        "plug:dmix"
}

Also, using 'alsamixer', I know that nothing is on mute.


Any ideas of what could be the problem?

Offline

#2 2010-06-19 15:00:18

yngwin
Member
Registered: 2009-05-08
Posts: 67

Re: ncmpc sound issues.

ncmpc is an mpd client, it doesn't do anything with mpd's output, it only does things like letting you set the playlist and so on. If you are streaming your mpd output from your server, you will need another application to play that stream, like you did with mplayer.

Last edited by yngwin (2010-06-19 15:01:20)

Offline

Board footer

Powered by FluxBB