feat: update mpd/ncmpcpp config files

remove deprecated parameters
prettify
This commit is contained in:
David 2021-01-13 00:33:29 +01:00
parent 52e124fae8
commit 56d322f571
2 changed files with 15 additions and 24 deletions

View File

@ -1,29 +1,29 @@
# Recommended location for database # Recommended location for database
db_file "~/.config/mpd/database" db_file "~/.config/mpd/database"
# Logs to systemd journal # Logs to systemd journal
log_file "syslog" log_file "syslog"
# The music directory is by default the XDG directory, uncomment to amend and choose a different directory # The music directory is by default the XDG directory, uncomment to amend and choose a different directory
music_directory "~/music" music_directory "~/music"
# Uncomment to refresh the database whenever files in the music_directory are changed # Uncomment to refresh the database whenever files in the music_directory are changed
auto_update "yes" auto_update "yes"
# Uncomment to enable the functionalities # Uncomment to enable the functionalities
playlist_directory "~/.config/mpd/playlists" playlist_directory "~/.config/mpd/playlists"
pid_file "~/.config/mpd/pid" pid_file "~/.config/mpd/pid"
#state_file "~/.config/mpd/state" #state_file "~/.config/mpd/state"
sticker_file "~/.config/mpd/sticker.sql" sticker_file "~/.config/mpd/sticker.sql"
audio_output { audio_output {
type "pulse" type "pulse"
name "pulse audio" name "pulse audio"
} }
audio_output { audio_output {
type "fifo" type "fifo"
name "my_fifo" name "my_fifo"
path "/tmp/mpd.fifo" path "/tmp/mpd.fifo"
format "44100:16:2" format "44100:16:2"
} }

View File

@ -49,7 +49,7 @@ mpd_crossfade_time = 5
## } ## }
## ##
# #
visualizer_fifo_path = /tmp/mpd.fifo visualizer_data_source = /tmp/mpd.fifo
# #
## ##
## Note: Below parameter is needed for ncmpcpp to determine which output ## Note: Below parameter is needed for ncmpcpp to determine which output
@ -65,15 +65,6 @@ visualizer_output_name = Visualizer feed
visualizer_in_stereo = yes visualizer_in_stereo = yes
# #
## ##
## Note: Below parameter defines how often ncmpcpp has to "synchronize"
## visualizer and audio outputs. 30 seconds is optimal value, but if you
## experience synchronization problems, set it to lower value. Keep in mind
## that sane values start with >=10.
##
#
visualizer_sync_interval = 30
#
##
## Note: To enable spectrum frequency visualization you need to compile ncmpcpp ## Note: To enable spectrum frequency visualization you need to compile ncmpcpp
## with fftw3 support. ## with fftw3 support.
## ##