Màj conf MPD

This commit is contained in:
Breizh 2021-02-19 03:32:50 +01:00
parent b415e2817e
commit c20fbf8e93

View file

@ -25,7 +25,7 @@ playlist_directory "~/.mpd/playlists"
# MPD to accept files over ipc socket (using file:// protocol) or streaming
# files over an accepted protocol.
#
db_file "~/.mpd/database"
#db_file "~/.mpd/database"
#
# These settings are the locations for the daemon log files for the daemon.
# These logs are great for troubleshooting, depending on your log_level
@ -74,7 +74,7 @@ sticker_file "~/.mpd/sticker.sql"
#group "nogroup"
#
# This setting sets the address for the daemon to listen on. Careful attention
# should be paid if this is assigned to anything other then the default, any.
# should be paid if this is assigned to anything other than the default, any.
# This setting can deny access to control of the daemon. Not effective if
# systemd socket activiation is in use.
#
@ -89,12 +89,11 @@ bind_to_address "~/.mpd/socket"
#
#port "6600"
#
# This setting controls the type of information which is logged. Available
# setting arguments are "default", "secure" or "verbose". The "verbose" setting
# argument is recommended for troubleshooting, though can quickly stretch
# available resources on limited hardware storage.
# Suppress all messages below the given threshold. Use "verbose" for
# troubleshooting. Available setting arguments are "notice", "info", "verbose",
# "warning" and "error".
#
#log_level "default"
#log_level "notice"
#
# Setting "restore_paused" to "yes" puts MPD into pause mode instead
# of starting playback after startup.
@ -174,7 +173,18 @@ auto_update "yes"
# Database #######################################################################
#
# An example of a database section instead of the old 'db_file' setting.
# It enables mounting other storages into the music directory.
#
database {
plugin "simple"
path "~/.mpd/db"
cache_directory "~/.mpd/cache"
}
#
# An example of database config for a sattelite setup
#
#music_directory "nfs://fileserver.local/srv/mp3"
#database {
# plugin "proxy"
# host "other.mpd.host"
@ -183,7 +193,6 @@ auto_update "yes"
# Input #######################################################################
#
input {
plugin "curl"
# proxy "proxy.isp.com:8080"
@ -274,14 +283,15 @@ input {
#}
#
# An example of a pulseaudio output (streaming to a remote pulseaudio server)
#
audio_output {
type "pulse"
name "PulseAudio"
name "PipeWire Pulse"
# server "remote_server" # optional
# sink "remote_server_sink" # optional
# media_role "media_role" #optional
}
#
# An example of a winmm output (Windows multimedia API).
#
#audio_output {
@ -293,6 +303,20 @@ audio_output {
## mixer_type "hardware" # optional
#}
#
# An example of a wasapi output (Windows multimedia API).
#
#audio_output {
# type "wasapi"
# name "My WASAPI output"
## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
# or
## device "0" # optional
## Exclusive mode blocks all other audio source, and get best audio quality without resampling.
## exclusive "no" # optional
## Enumerate all devices in log.
## enumerate "no" # optional
#}
#
# An example of an openal output.
#
#audio_output {
@ -348,11 +372,12 @@ audio_output {
# the argument "off", "album", "track" or "auto". "auto" is a special mode that
# chooses between "track" and "album" depending on the current state of
# random playback. If random playback is enabled then "track" mode is used.
# See <http://www.replaygain.org> for more details about ReplayGain.
# See <https://wiki.hydrogenaud.io/index.php?title=Replaygain> for
# more details about ReplayGain.
# This setting is off by default.
#
replaygain "auto"
#
# This setting sets the pre-amp used for files that have ReplayGain tags. By
# default this setting is disabled.
#
@ -370,13 +395,13 @@ replaygain "auto"
# above its original level. If replaygain_limit is disabled such amplification
# might occur. By default this setting is enabled.
#
replaygain_limit "no"
replaygain_limit "yes"
#
# This setting enables on-the-fly normalization volume adjustment. This will
# result in the volume of all playing audio to be adjusted so the output has
# equal "loudness". This setting is disabled by default.
#
#volume_normalization "yes"
#volume_normalization "no"
#
###############################################################################
@ -388,4 +413,3 @@ replaygain_limit "no"
#filesystem_charset "UTF-8"
#
###############################################################################