Nice one,
I’ve just submitted a report from the working system.
cat /etc/asound.conf
#asound_hifiberry.conf
pcm.!default {
type hw card 0
}
ctl.!default {
type hw card 0
cat /etc/mpd.conf
#/etc/mpd.conf
music_directory “/mnt/usb_1”
playlist_directory “/root/Music”
db_file “/root/.mpd_cache/db_file”
log_file “/var/log/mpd/mpd.log”
pid_file “/var/run/mpd/pid”
state_file “/var/lib/mpd/state”
sticker_file “/var/lib/mpd/sticker.sql”
user “root”
#group “nogroup”
bind_to_address “192.168.1.10”
#bind_to_address “/var/run/mpd/socket”
#port “6600”
log_level “default”
#gapless_mp3_playback “yes”
#save_absolute_paths_in_playlists “no”
metadata_to_use “artist,album,title,track,name,genre,date”
auto_update “yes”
#auto_update_depth “3”
#follow_outside_symlinks “yes”
#follow_inside_symlinks “yes”
#zeroconf_enabled “yes”
#zeroconf_name “Music Player”
#password “password@read,add,control,admin”
#default_permissions “read,add,control,admin”
input {
plugin “curl”
proxy_user “user”
proxy_password “password”
}
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_format “44100:16:2”
#samplerate_converter “Fastest Sinc Interpolator”
mixer_type “software”
replaygain “track”
#replaygain_preamp “0”
volume_normalization “no”
#audio_buffer_size “2048”
#buffer_before_play “10%”
connection_timeout “60”
max_connections “10”
#max_playlist_length “16384”
#max_command_list_size “2048”
#max_output_buffer_size “8192”
filesystem_charset “UTF-8”
id3v1_encoding “UTF-8”
It would be nice if we could have a tidier mpd.conf (if you check out the way volumio manages it I think that’s a neat system).