Hello,
I am currently facing a challenge in the interplay of MPD’s (Music Player Daemon) audio output as a http stream in my local network and the sonos interface (currently I use tuneIN to listen to a specific (local!) http address, namely the one I set in my MPD config).
I successfully got an mp3 Stream up and running with maximal bitrate of 320kHz, using the following mpd config:
audio_output {
        type        "httpd"
        name        "mp3audio"
        encoder     "lame"     
        port        "8000"
        bitrate     "320"         
        format      "44100:16:2"
}
I now wish to replicate this for flac, but simply setting
audio_output {
  type            "httpd"
  name            "Lossless HTTP Stream"
  encoder         "flac"  # or "wav" for uncompressed WAV
  compression     "0"
  port            "8001"  # choose a port
  format          "44100:16:2"  # 44.1 kHz, 16-bit, 2 channels (stereo)
}
seems to not yield the expected result, as no audio is played back at all by the system. Infact the system appears to get caught in a state of constant retrying of loading the stream, with occasional static noise coming out of the speakers for a split second. 
So I don’t really know where the problem here is hidden, maybe someone has had similar experiences or a different approach to streaming from mpd to sonos, although this current solution otherwise fully satisfies my needs. 
Thank you very much!
