2013-11-08 12:26:07 +01:00
|
|
|
# An example configuration file for MPD.
|
|
|
|
# Read the user manual for documentation: http://www.musicpd.org/doc/user/
|
2006-09-13 01:16:14 +02:00
|
|
|
|
2009-03-29 19:58:31 +02:00
|
|
|
|
2009-03-29 19:58:09 +02:00
|
|
|
# Files and directories #######################################################
|
2008-12-21 07:09:06 +01:00
|
|
|
#
|
2008-12-25 00:02:01 +01:00
|
|
|
# This setting controls the top directory which MPD will search to discover the
|
2020-11-07 11:20:04 +01:00
|
|
|
# available audio files and add them to the daemon's online database. This
|
2009-03-29 19:58:11 +02:00
|
|
|
# setting defaults to the XDG directory, otherwise the music directory will be
|
|
|
|
# be disabled and audio files will only be accepted over ipc socket (using
|
|
|
|
# file:// protocol) or streaming files over an accepted protocol.
|
2008-12-21 07:09:06 +01:00
|
|
|
#
|
2009-03-29 19:58:10 +02:00
|
|
|
#music_directory "~/music"
|
2008-12-21 07:09:06 +01:00
|
|
|
#
|
2008-12-25 00:02:01 +01:00
|
|
|
# This setting sets the MPD internal playlist directory. The purpose of this
|
2020-11-07 11:20:04 +01:00
|
|
|
# directory is storage for playlists created by MPD. The server will use
|
2008-12-25 00:02:01 +01:00
|
|
|
# playlist files not created by the server but only if they are in the MPD
|
2009-03-29 19:58:11 +02:00
|
|
|
# format. This setting defaults to playlist saving being disabled.
|
2008-12-21 07:09:06 +01:00
|
|
|
#
|
2009-03-29 19:58:10 +02:00
|
|
|
#playlist_directory "~/.mpd/playlists"
|
2008-12-21 07:09:06 +01:00
|
|
|
#
|
2008-12-25 00:02:01 +01:00
|
|
|
# This setting sets the location of the MPD database. This file is used to
|
2020-11-07 11:20:04 +01:00
|
|
|
# load the database at server start up and store the database while the
|
2009-03-29 19:58:11 +02:00
|
|
|
# server is not up. This setting defaults to disabled which will allow
|
|
|
|
# MPD to accept files over ipc socket (using file:// protocol) or streaming
|
|
|
|
# files over an accepted protocol.
|
2008-12-21 07:09:06 +01:00
|
|
|
#
|
2009-03-29 19:58:10 +02:00
|
|
|
#db_file "~/.mpd/database"
|
2020-11-07 11:20:04 +01:00
|
|
|
#
|
2008-12-25 00:02:01 +01:00
|
|
|
# These settings are the locations for the daemon log files for the daemon.
|
|
|
|
# These logs are great for troubleshooting, depending on your log_level
|
|
|
|
# settings.
|
2008-12-21 07:09:06 +01:00
|
|
|
#
|
2009-03-29 19:58:11 +02:00
|
|
|
# The special value "syslog" makes MPD use the local syslog daemon. This
|
2018-11-14 12:07:18 +01:00
|
|
|
# setting defaults to logging to syslog.
|
2008-12-28 19:48:53 +01:00
|
|
|
#
|
2009-03-29 19:58:10 +02:00
|
|
|
#log_file "~/.mpd/log"
|
2005-03-12 05:06:16 +01:00
|
|
|
#
|
2008-12-25 00:02:01 +01:00
|
|
|
# This setting sets the location of the file which stores the process ID
|
|
|
|
# for use of mpd --kill and some init scripts. This setting is disabled by
|
2009-03-29 19:58:11 +02:00
|
|
|
# default and the pid file will not be stored.
|
2005-03-06 05:27:19 +01:00
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
#pid_file "~/.mpd/pid"
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2008-12-25 00:02:01 +01:00
|
|
|
# This setting sets the location of the file which contains information about
|
|
|
|
# most variables to get MPD back into the same general shape it was in before
|
2020-11-07 11:20:04 +01:00
|
|
|
# it was brought down. This setting is disabled by default and the server
|
2009-03-29 19:58:11 +02:00
|
|
|
# state will be reset on server start up.
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
#state_file "~/.mpd/state"
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2009-11-04 00:21:58 +01:00
|
|
|
# The location of the sticker database. This is a database which
|
|
|
|
# manages dynamic information attached to songs.
|
|
|
|
#
|
|
|
|
#sticker_file "~/.mpd/sticker.sql"
|
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
###############################################################################
|
2004-03-24 01:37:54 +01:00
|
|
|
|
|
|
|
|
2008-12-21 07:09:06 +01:00
|
|
|
# General music daemon options ################################################
|
2006-09-13 01:16:14 +02:00
|
|
|
#
|
2009-03-29 19:58:11 +02:00
|
|
|
# This setting specifies the user that MPD will run as. MPD should never run as
|
|
|
|
# root and you may use this setting to make MPD change its user ID after
|
|
|
|
# initialization. This setting is disabled by default and MPD is run as the
|
|
|
|
# current user.
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
#user "nobody"
|
2006-09-13 01:16:14 +02:00
|
|
|
#
|
2009-07-19 08:17:55 +02:00
|
|
|
# This setting specifies the group that MPD will run as. If not specified
|
|
|
|
# primary group of user specified with "user" setting will be used (if set).
|
|
|
|
# This is useful if MPD needs to be a member of group such as "audio" to
|
|
|
|
# have permission to use sound card.
|
|
|
|
#
|
|
|
|
#group "nogroup"
|
|
|
|
#
|
2008-12-25 00:02:01 +01:00
|
|
|
# This setting sets the address for the daemon to listen on. Careful attention
|
2020-11-07 11:20:04 +01:00
|
|
|
# should be paid if this is assigned to anything other than the default, any.
|
2015-08-11 19:02:26 +02:00
|
|
|
# This setting can deny access to control of the daemon. Not effective if
|
|
|
|
# systemd socket activiation is in use.
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
# For network
|
|
|
|
#bind_to_address "any"
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
# And for Unix Socket
|
|
|
|
#bind_to_address "~/.mpd/socket"
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2009-03-29 19:58:11 +02:00
|
|
|
# This setting is the TCP port that is desired for the daemon to get assigned
|
|
|
|
# to.
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
#port "6600"
|
2008-12-16 21:31:52 +01:00
|
|
|
#
|
2020-09-23 13:57:02 +02:00
|
|
|
# Suppress all messages below the given threshold. Use "verbose" for
|
2020-11-07 16:17:54 +01:00
|
|
|
# troubleshooting. Available setting arguments are "notice", "info", "verbose",
|
|
|
|
# "warning" and "error".
|
2008-12-16 21:31:52 +01:00
|
|
|
#
|
2020-09-23 12:54:15 +02:00
|
|
|
#log_level "notice"
|
2006-09-13 01:16:14 +02:00
|
|
|
#
|
2011-02-23 09:09:48 +01:00
|
|
|
# Setting "restore_paused" to "yes" puts MPD into pause mode instead
|
|
|
|
# of starting playback after startup.
|
|
|
|
#
|
|
|
|
#restore_paused "no"
|
|
|
|
#
|
2008-12-25 00:02:01 +01:00
|
|
|
# This setting enables MPD to create playlists in a format usable by other
|
|
|
|
# music players.
|
2008-12-21 07:09:06 +01:00
|
|
|
#
|
|
|
|
#save_absolute_paths_in_playlists "no"
|
|
|
|
#
|
2012-08-11 13:47:26 +02:00
|
|
|
# This setting defines a list of tag types that will be extracted during the
|
|
|
|
# audio file discovery process. The complete list of possible values can be
|
2016-04-22 10:01:02 +02:00
|
|
|
# found in the user manual.
|
2008-12-21 07:09:06 +01:00
|
|
|
#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
|
|
|
|
#
|
2018-08-10 18:31:05 +02:00
|
|
|
# This example just enables the "comment" tag without disabling all
|
|
|
|
# the other supported tags:
|
|
|
|
#metadata_to_use "+comment"
|
|
|
|
#
|
2020-11-07 11:20:04 +01:00
|
|
|
# This setting enables automatic update of MPD's database when files in
|
2009-10-26 19:14:40 +01:00
|
|
|
# music_directory are changed.
|
|
|
|
#
|
|
|
|
#auto_update "yes"
|
2010-04-13 21:01:19 +02:00
|
|
|
#
|
|
|
|
# Limit the depth of the directories being watched, 0 means only watch
|
|
|
|
# the music directory itself. There is no limit by default.
|
|
|
|
#
|
|
|
|
#auto_update_depth "3"
|
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
###############################################################################
|
2007-06-03 22:09:12 +02:00
|
|
|
|
2009-03-29 19:58:31 +02:00
|
|
|
|
2008-12-21 07:09:06 +01:00
|
|
|
# Symbolic link behavior ######################################################
|
|
|
|
#
|
2020-11-07 11:20:04 +01:00
|
|
|
# If this setting is set to "yes", MPD will discover audio files by following
|
2008-12-25 00:02:01 +01:00
|
|
|
# symbolic links outside of the configured music_directory.
|
2008-12-21 07:09:06 +01:00
|
|
|
#
|
|
|
|
#follow_outside_symlinks "yes"
|
|
|
|
#
|
2009-03-29 19:58:11 +02:00
|
|
|
# If this setting is set to "yes", MPD will discover audio files by following
|
2008-12-25 00:02:01 +01:00
|
|
|
# symbolic links inside of the configured music_directory.
|
2008-12-21 07:09:06 +01:00
|
|
|
#
|
|
|
|
#follow_inside_symlinks "yes"
|
|
|
|
#
|
|
|
|
###############################################################################
|
2007-06-03 22:09:12 +02:00
|
|
|
|
2009-03-29 19:58:31 +02:00
|
|
|
|
2008-12-21 07:09:06 +01:00
|
|
|
# Zeroconf / Avahi Service Discovery ##########################################
|
2007-06-03 22:09:12 +02:00
|
|
|
#
|
2008-12-25 00:02:01 +01:00
|
|
|
# If this setting is set to "yes", service information will be published with
|
|
|
|
# Zeroconf / Avahi.
|
2007-06-03 20:08:51 +02:00
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
#zeroconf_enabled "yes"
|
2007-06-03 20:08:51 +02:00
|
|
|
#
|
2008-12-25 00:02:01 +01:00
|
|
|
# The argument to this setting will be the Zeroconf / Avahi unique name for
|
2018-10-31 17:54:45 +01:00
|
|
|
# this MPD server on the network. %h will be replaced with the hostname.
|
2007-01-11 21:41:17 +01:00
|
|
|
#
|
2018-10-31 17:54:45 +01:00
|
|
|
#zeroconf_name "Music Player @ %h"
|
2007-01-11 21:41:17 +01:00
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
###############################################################################
|
2004-03-24 01:37:54 +01:00
|
|
|
|
|
|
|
|
2008-12-21 07:09:06 +01:00
|
|
|
# Permissions #################################################################
|
2004-10-28 07:14:55 +02:00
|
|
|
#
|
2008-12-25 00:02:01 +01:00
|
|
|
# If this setting is set, MPD will require password authorization. The password
|
2016-10-08 00:36:28 +02:00
|
|
|
# setting can be specified multiple times for different password profiles.
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2006-09-13 01:16:14 +02:00
|
|
|
#password "password@read,add,control,admin"
|
|
|
|
#
|
2020-11-07 11:20:04 +01:00
|
|
|
# This setting specifies the permissions a user has who has not yet logged in.
|
2004-11-09 14:04:20 +01:00
|
|
|
#
|
2006-09-13 01:16:14 +02:00
|
|
|
#default_permissions "read,add,control,admin"
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
###############################################################################
|
2004-07-18 14:48:17 +02:00
|
|
|
|
2004-10-29 20:28:06 +02:00
|
|
|
|
2013-11-07 18:31:56 +01:00
|
|
|
# Database #######################################################################
|
|
|
|
#
|
2020-11-07 16:18:46 +01:00
|
|
|
# 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 "~/.local/share/mpd/db
|
|
|
|
# cache_directory "~/.local/share/mpd/cache"
|
|
|
|
#}
|
|
|
|
#
|
|
|
|
# An example of database config for a sattelite setup
|
|
|
|
#
|
|
|
|
#music_directory "nfs://fileserver.local/srv/mp3"
|
2013-11-07 18:31:56 +01:00
|
|
|
#database {
|
|
|
|
# plugin "proxy"
|
|
|
|
# host "other.mpd.host"
|
|
|
|
# port "6600"
|
|
|
|
#}
|
|
|
|
|
2009-04-25 13:35:04 +02:00
|
|
|
# Input #######################################################################
|
|
|
|
#
|
|
|
|
input {
|
|
|
|
plugin "curl"
|
|
|
|
# proxy "proxy.isp.com:8080"
|
|
|
|
# proxy_user "user"
|
|
|
|
# proxy_password "password"
|
|
|
|
}
|
|
|
|
|
|
|
|
#
|
|
|
|
###############################################################################
|
|
|
|
|
2008-12-21 07:09:06 +01:00
|
|
|
# Audio Output ################################################################
|
2004-10-29 20:28:06 +02:00
|
|
|
#
|
2020-11-07 11:20:04 +01:00
|
|
|
# MPD supports various audio output types, as well as playing through multiple
|
|
|
|
# audio outputs at the same time, through multiple audio_output settings
|
2008-12-25 00:02:01 +01:00
|
|
|
# blocks. Setting this block is optional, though the server will only attempt
|
|
|
|
# autodetection for one sound card.
|
2004-10-29 20:28:06 +02:00
|
|
|
#
|
2006-09-13 01:16:14 +02:00
|
|
|
# An example of an ALSA output:
|
2004-10-29 20:28:06 +02:00
|
|
|
#
|
2006-09-13 01:16:14 +02:00
|
|
|
#audio_output {
|
2009-03-29 19:58:11 +02:00
|
|
|
# type "alsa"
|
|
|
|
# name "My ALSA Device"
|
2009-09-10 23:10:23 +02:00
|
|
|
## device "hw:0,0" # optional
|
2009-09-10 23:18:43 +02:00
|
|
|
## mixer_type "hardware" # optional
|
2009-09-10 23:10:23 +02:00
|
|
|
## mixer_device "default" # optional
|
|
|
|
## mixer_control "PCM" # optional
|
|
|
|
## mixer_index "0" # optional
|
2006-09-13 01:16:14 +02:00
|
|
|
#}
|
2004-10-29 20:28:06 +02:00
|
|
|
#
|
2006-09-13 01:16:14 +02:00
|
|
|
# An example of an OSS output:
|
|
|
|
#
|
|
|
|
#audio_output {
|
2009-03-29 19:58:11 +02:00
|
|
|
# type "oss"
|
|
|
|
# name "My OSS Device"
|
2009-09-10 23:10:23 +02:00
|
|
|
## device "/dev/dsp" # optional
|
2009-09-10 23:18:43 +02:00
|
|
|
## mixer_type "hardware" # optional
|
2009-09-10 23:10:23 +02:00
|
|
|
## mixer_device "/dev/mixer" # optional
|
|
|
|
## mixer_control "PCM" # optional
|
2006-09-13 01:16:14 +02:00
|
|
|
#}
|
|
|
|
#
|
|
|
|
# An example of a shout output (for streaming to Icecast):
|
|
|
|
#
|
|
|
|
#audio_output {
|
2009-03-29 19:58:11 +02:00
|
|
|
# type "shout"
|
2016-07-29 10:52:03 +02:00
|
|
|
# encoder "vorbis" # optional
|
2009-03-29 19:58:11 +02:00
|
|
|
# name "My Shout Stream"
|
|
|
|
# host "localhost"
|
|
|
|
# port "8000"
|
|
|
|
# mount "/mpd.ogg"
|
|
|
|
# password "hackme"
|
|
|
|
# quality "5.0"
|
|
|
|
# bitrate "128"
|
|
|
|
# format "44100:16:1"
|
2009-09-10 23:10:23 +02:00
|
|
|
## protocol "icecast2" # optional
|
|
|
|
## user "source" # optional
|
|
|
|
## description "My Stream Description" # optional
|
2011-02-04 14:14:29 +01:00
|
|
|
## url "http://example.com" # optional
|
2009-09-10 23:10:23 +02:00
|
|
|
## genre "jazz" # optional
|
|
|
|
## public "no" # optional
|
|
|
|
## timeout "2" # optional
|
2009-09-10 23:18:43 +02:00
|
|
|
## mixer_type "software" # optional
|
2006-09-13 01:16:14 +02:00
|
|
|
#}
|
2004-10-29 20:28:06 +02:00
|
|
|
#
|
2009-08-24 18:57:06 +02:00
|
|
|
# An example of a recorder output:
|
|
|
|
#
|
|
|
|
#audio_output {
|
|
|
|
# type "recorder"
|
|
|
|
# name "My recorder"
|
|
|
|
# encoder "vorbis" # optional, vorbis or lame
|
|
|
|
# path "/var/lib/mpd/recorder/mpd.ogg"
|
2009-09-10 23:18:43 +02:00
|
|
|
## quality "5.0" # do not define if bitrate is defined
|
2009-08-24 18:57:06 +02:00
|
|
|
# bitrate "128" # do not define if quality is defined
|
|
|
|
# format "44100:16:1"
|
|
|
|
#}
|
|
|
|
#
|
httpd: new output plugin to replace "shout"
Let's get rid of the "shout" plugin, and the awfully complicated
icecast daemon setup! MPD can do better if it's doing the HTTP server
stuff on its own. This new plugin has several advantages:
- easier to set up - only one daemon, no password settings, no mount
settings
- MPD controls the encoder and thus already knows the packet
boundaries - icecast has to parse them
- MPD doesn't bother to encode data while nobody is listening
This implementation is very experimental (no header parsing, ignores
request URI, no icy-metadata, ...). It should be able to suport
several encoders in parallel in the future (with different bit rates,
different codec, ...), to make MPD the perfect streaming server. Once
MPD gets multi-player support, we can even mount several different
radio stations on one server.
2009-03-15 03:32:34 +01:00
|
|
|
# An example of a httpd output (built-in HTTP streaming server):
|
|
|
|
#
|
|
|
|
#audio_output {
|
2009-03-29 19:58:11 +02:00
|
|
|
# type "httpd"
|
|
|
|
# name "My HTTP Stream"
|
|
|
|
# encoder "vorbis" # optional, vorbis or lame
|
|
|
|
# port "8000"
|
2010-09-25 15:00:43 +02:00
|
|
|
# bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
|
2009-09-10 23:10:23 +02:00
|
|
|
## quality "5.0" # do not define if bitrate is defined
|
2009-03-29 19:58:11 +02:00
|
|
|
# bitrate "128" # do not define if quality is defined
|
|
|
|
# format "44100:16:1"
|
2009-10-29 22:38:18 +01:00
|
|
|
# max_clients "0" # optional 0=no limit
|
httpd: new output plugin to replace "shout"
Let's get rid of the "shout" plugin, and the awfully complicated
icecast daemon setup! MPD can do better if it's doing the HTTP server
stuff on its own. This new plugin has several advantages:
- easier to set up - only one daemon, no password settings, no mount
settings
- MPD controls the encoder and thus already knows the packet
boundaries - icecast has to parse them
- MPD doesn't bother to encode data while nobody is listening
This implementation is very experimental (no header parsing, ignores
request URI, no icy-metadata, ...). It should be able to suport
several encoders in parallel in the future (with different bit rates,
different codec, ...), to make MPD the perfect streaming server. Once
MPD gets multi-player support, we can even mount several different
radio stations on one server.
2009-03-15 03:32:34 +01:00
|
|
|
#}
|
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
# An example of a pulseaudio output (streaming to a remote pulseaudio server)
|
2007-05-30 18:58:39 +02:00
|
|
|
#
|
|
|
|
#audio_output {
|
2009-03-29 19:58:11 +02:00
|
|
|
# type "pulse"
|
|
|
|
# name "My Pulse Output"
|
2009-09-10 23:10:23 +02:00
|
|
|
## server "remote_server" # optional
|
|
|
|
## sink "remote_server_sink" # optional
|
2019-07-16 12:55:53 +02:00
|
|
|
## media_role "media_role" #optional
|
2007-05-30 18:58:39 +02:00
|
|
|
#}
|
|
|
|
#
|
2013-01-10 10:46:30 +01:00
|
|
|
# An example of a winmm output (Windows multimedia API).
|
|
|
|
#
|
|
|
|
#audio_output {
|
|
|
|
# type "winmm"
|
2013-01-11 10:22:53 +01:00
|
|
|
# name "My WinMM output"
|
2013-01-10 10:46:30 +01:00
|
|
|
## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
|
|
|
|
# or
|
|
|
|
## device "0" # optional
|
|
|
|
## mixer_type "hardware" # optional
|
|
|
|
#}
|
|
|
|
#
|
2020-05-30 08:04:58 +02:00
|
|
|
# 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
|
|
|
|
#}
|
|
|
|
#
|
2013-01-11 10:22:53 +01:00
|
|
|
# An example of an openal output.
|
2013-01-10 10:50:00 +01:00
|
|
|
#
|
|
|
|
#audio_output {
|
|
|
|
# type "openal"
|
2013-01-11 10:22:53 +01:00
|
|
|
# name "My OpenAL output"
|
2013-01-10 10:50:00 +01:00
|
|
|
## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
|
|
|
|
#}
|
|
|
|
#
|
2016-06-22 15:11:30 +02:00
|
|
|
# An example of an sndio output.
|
|
|
|
#
|
|
|
|
#audio_output {
|
|
|
|
# type "sndio"
|
|
|
|
# name "sndio output"
|
2017-09-16 08:21:07 +02:00
|
|
|
# mixer_type "hardware"
|
2016-06-22 15:11:30 +02:00
|
|
|
#}
|
|
|
|
#
|
2016-07-09 13:03:41 +02:00
|
|
|
# An example of an OS X output:
|
|
|
|
#
|
|
|
|
#audio_output {
|
|
|
|
# type "osx"
|
|
|
|
# name "My OS X Device"
|
|
|
|
## device "Built-in Output" # optional
|
|
|
|
## channel_map "-1,-1,0,1" # optional
|
|
|
|
#}
|
|
|
|
#
|
2009-02-28 16:11:59 +01:00
|
|
|
## Example "pipe" output:
|
|
|
|
#
|
|
|
|
#audio_output {
|
|
|
|
# type "pipe"
|
|
|
|
# name "my pipe"
|
|
|
|
# command "aplay -f cd 2>/dev/null"
|
|
|
|
## Or if you're want to use AudioCompress
|
|
|
|
# command "AudioCompress -m | aplay -f cd 2>/dev/null"
|
|
|
|
## Or to send raw PCM stream through PCM:
|
|
|
|
# command "nc example.org 8765"
|
|
|
|
# format "44100:16:2"
|
|
|
|
#}
|
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
## An example of a null output (for no audio output):
|
|
|
|
#
|
|
|
|
#audio_output {
|
2009-03-29 19:58:11 +02:00
|
|
|
# type "null"
|
|
|
|
# name "My Null Output"
|
2009-07-06 22:00:50 +02:00
|
|
|
# mixer_type "none" # optional
|
2008-12-21 07:09:06 +01:00
|
|
|
#}
|
2004-10-29 20:28:06 +02:00
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
###############################################################################
|
2004-10-29 20:28:06 +02:00
|
|
|
|
|
|
|
|
2008-12-21 07:09:06 +01:00
|
|
|
# Normalization automatic volume adjustments ##################################
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2008-12-25 00:02:01 +01:00
|
|
|
# This setting specifies the type of ReplayGain to use. This setting can have
|
2013-01-10 10:34:25 +01:00
|
|
|
# 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.
|
2021-01-20 14:58:15 +01:00
|
|
|
# See <https://wiki.hydrogenaud.io/index.php?title=Replaygain> for
|
|
|
|
# more details about ReplayGain.
|
2013-01-10 10:34:25 +01:00
|
|
|
# This setting is off by default.
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
#replaygain "album"
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2008-12-25 00:02:01 +01:00
|
|
|
# This setting sets the pre-amp used for files that have ReplayGain tags. By
|
|
|
|
# default this setting is disabled.
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
#replaygain_preamp "0"
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2013-01-10 10:34:25 +01:00
|
|
|
# This setting sets the pre-amp used for files that do NOT have ReplayGain tags.
|
|
|
|
# By default this setting is disabled.
|
|
|
|
#
|
|
|
|
#replaygain_missing_preamp "0"
|
|
|
|
#
|
|
|
|
# This setting enables or disables ReplayGain limiting.
|
|
|
|
# MPD calculates actual amplification based on the ReplayGain tags
|
|
|
|
# and replaygain_preamp / replaygain_missing_preamp setting.
|
|
|
|
# If replaygain_limit is enabled MPD will never amplify audio signal
|
|
|
|
# above its original level. If replaygain_limit is disabled such amplification
|
|
|
|
# might occur. By default this setting is enabled.
|
|
|
|
#
|
|
|
|
#replaygain_limit "yes"
|
|
|
|
#
|
2008-12-25 00:02:01 +01:00
|
|
|
# This setting enables on-the-fly normalization volume adjustment. This will
|
2020-11-07 11:20:04 +01:00
|
|
|
# result in the volume of all playing audio to be adjusted so the output has
|
2009-03-29 19:58:11 +02:00
|
|
|
# equal "loudness". This setting is disabled by default.
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
#volume_normalization "no"
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
###############################################################################
|
2004-06-23 13:52:25 +02:00
|
|
|
|
2008-12-21 07:09:06 +01:00
|
|
|
# Character Encoding ##########################################################
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2020-11-07 11:20:04 +01:00
|
|
|
# If file or directory names do not display correctly for your locale then you
|
2009-09-20 23:31:35 +02:00
|
|
|
# may need to modify this setting.
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2008-12-21 07:09:06 +01:00
|
|
|
#filesystem_charset "UTF-8"
|
2004-07-18 14:48:17 +02:00
|
|
|
#
|
2008-12-21 19:39:08 +01:00
|
|
|
###############################################################################
|