3

I can't get any audio from mpc. I can listen to sounds from websites.

Screenshot from my Console

I think I might need to edit the etc/mpd.conf

This might help as well: enter image description here

Jacobm001
  • 11,904
  • 7
  • 47
  • 58
PalimPalim
  • 131
  • 5

1 Answers1

1

You may use the ALSA output to use the stereo jack

/etc/mpd.conf

audio_output {
        type            "alsa"
        name            "My ALSA Device"
}

Alternatively if you want to listen to music from your Android or IPhone or tablet you can setup the Streaming output. Then standard Apps can listen to your music from RPI by standard stream:

/etc/mpd.conf

audio_output {
       type            "httpd"
       name            "My HTTP Stream"
       encoder         "vorbis"                # optional, vorbis or lame
       port            "8000"
       bind_to_address "192.168.1.10"          # optional, IPv4 or IPv6
       quality         "5.0"                   # do not define if bitrate is defined
       bitrate         "128"                   # do not define if quality is defined
       format          "44100:16:1"
       max_clients     "0"                     # optional 0=no limit
}

NOTE: you can actually enable both outputs (ALSA + STREAM) at the same time.

tswaehn
  • 340
  • 2
  • 8