Skip to content

Instantly share code, notes, and snippets.

@estshorter
Last active November 25, 2017 14:12
Show Gist options
  • Save estshorter/9251f4bb033cab4793c2d1ae07727e78 to your computer and use it in GitHub Desktop.
Save estshorter/9251f4bb033cab4793c2d1ae07727e78 to your computer and use it in GitHub Desktop.
My mpd.conf
# Files and directories #######################################################
music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/tag_cache"
#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"
###############################################################################
# General music daemon options ################################################
user "mpd"
group "audio"
bind_to_address "any"
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,composer,performer,disc"
auto_update "yes"
#auto_update_depth "3"
###############################################################################
# Symbolic link behavior ######################################################
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
###############################################################################
# Input #######################################################################
#
#input {
# plugin "curl"
#}
###############################################################################
# Decoder ################################################################
###############################################################################
# Audio Output ################################################################
audio_output {
type "alsa"
name "alsa"
device "hw:0,0"
# dop "no"
mixer_device "default"
mixer_control "Digital"
mixer_type "hardware"
format "*:32:2"
}
replaygain "track"
#replaygain_preamp "0"
volume_normalization "no"
###############################################################################
# MPD Internal Buffering ######################################################
#audio_buffer_size "8192"
#buffer_before_play "10%"
###############################################################################
# Resource Limitations ########################################################
#connection_timeout "60"
#max_connections "20"
#max_playlist_length "32384"
#max_command_list_size "8192"
#max_output_buffer_size "16384"
###############################################################################
# Character Encoding ##########################################################
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
###############################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment