mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-28 13:51:49 +08:00
88 lines
2.4 KiB
Plaintext
88 lines
2.4 KiB
Plaintext
# general settings #
|
|
####
|
|
|
|
music_directory "~/Music"
|
|
playlist_directory "~/.config/mpd/playlists"
|
|
db_file "~/.config/mpd/database"
|
|
log_file "~/.config/mpd/log"
|
|
pid_file "~/.config/mpd/pid"
|
|
state_file "~/.config/mpd/state"
|
|
sticker_file "~/.config/mpd/sticker.sql"
|
|
|
|
###############################################################################
|
|
user "juan"
|
|
#group "audio"
|
|
# For network
|
|
bind_to_address "127.0.0.1"
|
|
#
|
|
# And for Unix Socket
|
|
#bind_to_address "~/.config/mpd/socket"
|
|
#
|
|
# This setting is the TCP port that is desired for the daemon to get assigned
|
|
# to.
|
|
#
|
|
port "6600"
|
|
#log_level "notice"
|
|
restore_paused "yes"
|
|
auto_update "yes"
|
|
#auto_update_depth "3"
|
|
|
|
# Zeroconf / Avahi Service Discovery ##########################################
|
|
#
|
|
# If this setting is set to "yes", service information will be published with
|
|
# Zeroconf / Avahi.
|
|
#
|
|
#zeroconf_enabled "yes"
|
|
#
|
|
# The argument to this setting will be the Zeroconf / Avahi unique name for
|
|
# this MPD server on the network. %h will be replaced with the hostname.
|
|
#
|
|
#zeroconf_name "Music Player @ %h"
|
|
#
|
|
###############################################################################
|
|
|
|
|
|
# Permissions #################################################################
|
|
#
|
|
# If this setting is set, MPD will require password authorization. The password
|
|
# setting can be specified multiple times for different password profiles.
|
|
#
|
|
#password "password@read,add,control,admin"
|
|
#
|
|
# This setting specifies the permissions a user has who has not yet logged in.
|
|
#
|
|
#default_permissions "read,add,control,admin"
|
|
#
|
|
###############################################################################
|
|
#
|
|
input {
|
|
plugin "curl"
|
|
}
|
|
|
|
audio_output {
|
|
type "alsa"
|
|
name "alsa"
|
|
mixer_type "software"
|
|
}
|
|
# Visualization
|
|
audio_output {
|
|
type "fifo"
|
|
name "my_fifo"
|
|
path "/tmp/mpd.fifo"
|
|
format "44100:16:2"
|
|
}
|
|
###############################################################################
|
|
replaygain "auto"
|
|
replaygain_limit "yes"
|
|
volume_normalization "yes"
|
|
###############################################################################
|
|
|
|
# Character Encoding ##########################################################
|
|
#
|
|
# If file or directory names do not display correctly for your locale then you
|
|
# may need to modify this setting.
|
|
#
|
|
filesystem_charset "UTF-8"
|
|
#
|
|
###############################################################################
|