OK
i'ts working.
My mpd.conf :
state_file "/var/lib/mpd/mpdstate"
zeroconf_enabled "yes"
zeroconf_name "RuneAudio"
bind_to_address "/run/mpd.sock"
bind_to_address "any"
port "6600"
max_connections "20"
user "mpd"
group "audio"
db_file "/var/lib/mpd/mpd.db"
sticker_file "/var/lib/mpd/sticker.sql"
pid_file "/var/run/mpd/pid"
music_directory "/mnt/MPD"
playlist_directory "/var/lib/mpd/playlists"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
auto_update "no"
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
volume_normalization "no"
audio_buffer_size "2048"
buffer_before_play "10%"
gapless_mp3_playback "yes"
mixer_type "disabled"
input {
plugin "curl"
}
decoder {
plugin "ffmpeg"
enabled "yes"
}
audio_output {
type "httpd"
name "RasPi2 HTTP Stream"
# encoder "vorbis" # optional, vorbis or lame
encoder "flac"
port "8002"
bind_to_address "192.168.1.21" # optional, IPv4 or IPv6
# quality "5.0" # do not define if bitrate is defined
# bitrate "128" # do not define if quality is defined
bitrate "384" # do not define if quality is defined
# format "44100:16:1"
max_clients "20" # optional 0=no limit
enabled "yes"
always_on "yes"
auto_resample "no"
auto_format "no"
}
audio_output {
name "bcm2835 ALSA_2"
type "alsa"
device "hw:0,0"
auto_resample "no"
auto_format "no"
}
audio_output {
name "bcm2835 ALSA_1"
type "alsa"
device "hw:0,0"
auto_resample "no"
auto_format "no"
}
audio_output {
name "iFi (by AMR) HD USB Audio"
type "alsa"
device "hw:1,0"
auto_resample "no"
auto_format "no"
enabled "yes"
}
UI perfectly working with custom mpd.conf
Very nice job
Working with 3 clients, VLC and 2 RPiB+
connected as My Webradio to:
http://192.168.1.21:8002
slave mpd.conf is identical, except httpd output.
If playing number of the same format audio files, working very fine.
(I am using .wv)
tags are presented OK, cover not.
When my laptop was a server, all slaves was synchronised very good (1 Gb interface and network)
If RasPi2 is server, synchro is poor (not only master - slave, but slave to slave getting up to 1 sec. delay)
When file format is changed, ex. .wv to .flac or .mp4 slaves stops playig.
There is required pres stop and play again.
There is because, as I know, MPD can not change format on the fly.
Tests:
.flac, .wv and .wav up to 24 bit, 352.8 kHz are played OK.
top result, when playing 16 bit, 44.1 kHz .wv (CD)

- top_wv_44.1_kHz_16_bit.png (108.06 KiB) Viewed 3958 times
DXD .flac, 353.8 hHz, 10415 kbps is also played, but not fluent.
top result:

- top_dxd_352.8_kHz_10415_kbps.png (108.37 KiB) Viewed 3958 times
.dff DSD is played locally very bad (a lot of breaks), on slaves some noise:

- top_dsd_352.8_kHz_2822_kbps.png (107.58 KiB) Viewed 3958 times
.mp4
Locally OK.
Slaves - only very bad noise.
rgds
Falkin