[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: minidlan, GMPC and MPD



On 2015-Jun-21 23:19, notoneofmyseeds wrote:
> This might not quite be on-topic, but I suspect since it's all
> linux, help could be had there.
> 
> All is configured, mindlna, GMPC and MPD; the issue now is that GMPC
> can play/control MPD, but there's no sound on my laptop while the
> songs are being played.
> 
> If you have similar configurations or experience with any of the
> three programs, please pitch in. I'm willing to send any information
> you need. I've spent way too much time on this with no luck.
> 
> Cheers
 
If I understood correctly, you have a NAS box/server that hosts your
media. You installed mpd on that box and you want to control it from
your laptop, but you also want to hear music from that box on your
laptop. It wont work that way. GMPC is a client application to control
mpd so you can start, stop, pause etc. your music, but to actually hear
it on your laptop, you need to configure mpd audio_output{} in your
mpd.conf

By default, it will send sound to it's local sound card (pulse audio or
alsa). You can instead send that sound on some port as
httpd type and stream it so it can be captured by some external
application. 

audio_output {
        type            "httpd"
        name            "My HTTP Stream"
        encoder         "vorbis"                # optional, vorbis or lame
        port            "8001"
        bitrate         "128"                   # do not define if quality is defined
        format          "44100:16:1"
}

I used vlc and mplayer to listen that kind of stream on my computer.


HTH


Reply to: