--- doc/mpdconf.example.orig 2025-03-11 10:05:29 UTC +++ doc/mpdconf.example @@ -11,7 +11,7 @@ # file:// protocol) or streaming files over an accepted protocol. # #music_directory "$XDG_MUSIC_DIR" -#music_directory "~/music" +music_directory "/var/mpd/music" # # This setting sets the MPD internal playlist directory. The purpose of this # directory is storage for playlists created by MPD. The server will use @@ -19,7 +19,7 @@ # format. This setting defaults to playlist saving being disabled. # #playlist_directory "$XDG_CONFIG_HOME/mpd/playlists" -#playlist_directory "~/.mpd/playlists" +playlist_directory "/var/mpd/.mpd/playlists" # # This setting sets the location of the MPD database. This file is used to # load the database at server start up and store the database while the @@ -28,7 +28,7 @@ # files over an accepted protocol. # #db_file "$XDG_CACHE_HOME/mpd/database" -#db_file "~/.mpd/database" +db_file "/var/mpd/.mpd/database" # These settings are the locations for the daemon log files for the daemon. # @@ -39,7 +39,7 @@ # defaults to the systemd journal, which is fine. # #log_file "$XDG_CACHE_HOME/mpd/log" -#log_file "~/.mpd/log" +log_file "/var/mpd/.mpd/log" # 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 @@ -48,7 +48,7 @@ # If you use systemd, do not configure a pid_file. # #pid_file "$XDG_RUNTIME_DIR/mpd/mpd.pid" -#pid_file "~/.mpd/pid" +pid_file "/var/mpd/.mpd/pid" # 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 @@ -56,13 +56,13 @@ # state will be reset on server start up. # #state_file "$XDG_RUNTIME_DIR/mpd/state" -#state_file "~/.mpd/state" +state_file "/var/mpd/.mpd/state" # # The location of the sticker database. This is a database which # manages dynamic information attached to songs. # #sticker_file "$XDG_CACHE_HOME/sticker.sql" -#sticker_file "~/.mpd/sticker.sql" +sticker_file "/var/mpd/.mpd/sticker.sql" # ############################################################################### @@ -74,7 +74,7 @@ # initialization. This setting is disabled by default and MPD is run as the # current user. # -#user "nobody" +user "%%MPDUSER%%" # # 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). @@ -93,7 +93,7 @@ # # And for Unix Socket #bind_to_address "$XDG_RUNTIME_DIR/mpd/socket" -#bind_to_address "~/.mpd/socket" +bind_to_address "/var/mpd/.mpd/socket" # # This setting is the TCP port that is desired for the daemon to get assigned # to. @@ -189,8 +189,8 @@ # #database { # plugin "simple" -# path "~/.local/share/mpd/db" -# cache_directory "~/.local/share/mpd/cache" +# path "/var/mpd/.local/share/mpd/db" +# cache_directory "/var/mpd/.local/share/mpd/cache" #} # # An example of database config for a satellite setup @@ -235,14 +235,14 @@ input { # # An example of an OSS output: # -#audio_output { -# type "oss" -# name "My OSS Device" +audio_output { + type "oss" + name "Default OSS Device" ## device "/dev/dsp" # optional ## mixer_type "hardware" # optional ## mixer_device "/dev/mixer" # optional ## mixer_control "PCM" # optional -#} +} # # An example of a shout output (for streaming to Icecast): #