cat /etc/mpd.conf music_directory "/var/lib/mpd/music" playlist_directory "/var/lib/mpd/playlists" db_file "/var/lib/mpd/database" log_file "/var/log/mpd/mpd.log" pid_file "/var/run/mpd/pid" state_file "/mnt/dietpi_userdata/.mpd_cache/state" sticker_file "/mnt/dietpi_userdata/.mpd_cache/sticker.sql" #user "mpd" #Set via service to allow for mpd user to use assigned groups "audio" and "dietpi" #group "dietpi" #Set via service to allow for mpd user to use assigned groups "audio" and "dietpi" user "mpd" group "audio" bind_to_address "0.0.0.0" 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 "DietPi" #password "password@read,add,control,admin" #default_permissions "read,add,control,admin" input { plugin "curl" #proxy "proxy.isp.com:8080" #proxy_user "user" #proxy_password "password" } connection_timeout "30" max_connections "128" #max_playlist_length "20000" max_playlist_length "16384" max_command_list_size "2048" max_output_buffer_size "8192" audio_buffer_size "4096" filesystem_charset "UTF-8" audio_output_format "44100:16:2" #id3v1_encoding "UTF-8" #Audio Output / Processing #Disabled to allow native DSD output # replaygain "track" # replaygain_preamp "8" volume_normalization "yes" #buffer_before_play "10%" filter { plugin "volume" name "software volume" } ####################################################################### #resampler { # plugin "soxr" # quality "very high" # threads "0" resampler { plugin "soxr" quality "custom" precision "16" phase_response "50" passband_end "91.3" stopband_begin "100" attenuation "0" flags "0" } ####################################################################### playlist_plugin { name "m3u" enabled "true" } ######################################################################## decoder { plugin "ffmpeg" enabled "yes" } input { plugin "curl" } ###################################################################### audio_output { type "alsa" name "SPDIF" device "hw:SPDIF,0" mixer_type "software" dop "yes" audio_output_format "44100:16:2" }