Màj conf MPD
This commit is contained in:
parent
0e75b5f88c
commit
513434de7f
1 changed files with 54 additions and 30 deletions
|
@ -25,7 +25,7 @@ playlist_directory "~/.mpd/playlists"
|
||||||
# MPD to accept files over ipc socket (using file:// protocol) or streaming
|
# MPD to accept files over ipc socket (using file:// protocol) or streaming
|
||||||
# files over an accepted protocol.
|
# 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 settings are the locations for the daemon log files for the daemon.
|
||||||
# These logs are great for troubleshooting, depending on your log_level
|
# These logs are great for troubleshooting, depending on your log_level
|
||||||
|
@ -74,7 +74,7 @@ sticker_file "~/.mpd/sticker.sql"
|
||||||
#group "nogroup"
|
#group "nogroup"
|
||||||
#
|
#
|
||||||
# This setting sets the address for the daemon to listen on. Careful attention
|
# 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
|
# This setting can deny access to control of the daemon. Not effective if
|
||||||
# systemd socket activiation is in use.
|
# systemd socket activiation is in use.
|
||||||
#
|
#
|
||||||
|
@ -89,12 +89,11 @@ bind_to_address "~/.mpd/socket"
|
||||||
#
|
#
|
||||||
#port "6600"
|
#port "6600"
|
||||||
#
|
#
|
||||||
# This setting controls the type of information which is logged. Available
|
# Suppress all messages below the given threshold. Use "verbose" for
|
||||||
# setting arguments are "default", "secure" or "verbose". The "verbose" setting
|
# troubleshooting. Available setting arguments are "notice", "info", "verbose",
|
||||||
# argument is recommended for troubleshooting, though can quickly stretch
|
# "warning" and "error".
|
||||||
# available resources on limited hardware storage.
|
|
||||||
#
|
#
|
||||||
#log_level "default"
|
#log_level "notice"
|
||||||
#
|
#
|
||||||
# Setting "restore_paused" to "yes" puts MPD into pause mode instead
|
# Setting "restore_paused" to "yes" puts MPD into pause mode instead
|
||||||
# of starting playback after startup.
|
# of starting playback after startup.
|
||||||
|
@ -174,7 +173,18 @@ auto_update "yes"
|
||||||
|
|
||||||
# Database #######################################################################
|
# 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 {
|
#database {
|
||||||
# plugin "proxy"
|
# plugin "proxy"
|
||||||
# host "other.mpd.host"
|
# host "other.mpd.host"
|
||||||
|
@ -183,7 +193,6 @@ auto_update "yes"
|
||||||
|
|
||||||
# Input #######################################################################
|
# Input #######################################################################
|
||||||
#
|
#
|
||||||
|
|
||||||
input {
|
input {
|
||||||
plugin "curl"
|
plugin "curl"
|
||||||
# proxy "proxy.isp.com:8080"
|
# proxy "proxy.isp.com:8080"
|
||||||
|
@ -274,14 +283,15 @@ input {
|
||||||
#}
|
#}
|
||||||
#
|
#
|
||||||
# An example of a pulseaudio output (streaming to a remote pulseaudio server)
|
# An example of a pulseaudio output (streaming to a remote pulseaudio server)
|
||||||
|
#
|
||||||
audio_output {
|
audio_output {
|
||||||
type "pulse"
|
type "pulse"
|
||||||
name "PulseAudio"
|
name "PipeWire Pulse"
|
||||||
# server "remote_server" # optional
|
# server "remote_server" # optional
|
||||||
# sink "remote_server_sink" # optional
|
# sink "remote_server_sink" # optional
|
||||||
|
# media_role "media_role" #optional
|
||||||
}
|
}
|
||||||
|
#
|
||||||
# An example of a winmm output (Windows multimedia API).
|
# An example of a winmm output (Windows multimedia API).
|
||||||
#
|
#
|
||||||
#audio_output {
|
#audio_output {
|
||||||
|
@ -293,6 +303,20 @@ audio_output {
|
||||||
## mixer_type "hardware" # optional
|
## 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.
|
# An example of an openal output.
|
||||||
#
|
#
|
||||||
#audio_output {
|
#audio_output {
|
||||||
|
@ -348,11 +372,12 @@ audio_output {
|
||||||
# the argument "off", "album", "track" or "auto". "auto" is a special mode that
|
# the argument "off", "album", "track" or "auto". "auto" is a special mode that
|
||||||
# chooses between "track" and "album" depending on the current state of
|
# chooses between "track" and "album" depending on the current state of
|
||||||
# random playback. If random playback is enabled then "track" mode is used.
|
# 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.
|
# This setting is off by default.
|
||||||
|
#
|
||||||
replaygain "auto"
|
replaygain "auto"
|
||||||
|
#
|
||||||
# This setting sets the pre-amp used for files that have ReplayGain tags. By
|
# This setting sets the pre-amp used for files that have ReplayGain tags. By
|
||||||
# default this setting is disabled.
|
# default this setting is disabled.
|
||||||
#
|
#
|
||||||
|
@ -370,13 +395,13 @@ replaygain "auto"
|
||||||
# above its original level. If replaygain_limit is disabled such amplification
|
# above its original level. If replaygain_limit is disabled such amplification
|
||||||
# might occur. By default this setting is enabled.
|
# 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
|
# 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
|
# result in the volume of all playing audio to be adjusted so the output has
|
||||||
# equal "loudness". This setting is disabled by default.
|
# 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"
|
#filesystem_charset "UTF-8"
|
||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue