From 56d322f571c744a13ef02759aff70a9aa3e677fc Mon Sep 17 00:00:00 2001 From: David Date: Wed, 13 Jan 2021 00:33:29 +0100 Subject: [PATCH] feat: update mpd/ncmpcpp config files remove deprecated parameters prettify --- .config/mpd/mpd.conf | 28 ++++++++++++++-------------- .config/ncmpcpp/config | 11 +---------- 2 files changed, 15 insertions(+), 24 deletions(-) diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf index 49dbc45..878aa8a 100644 --- a/.config/mpd/mpd.conf +++ b/.config/mpd/mpd.conf @@ -1,29 +1,29 @@ # Recommended location for database -db_file "~/.config/mpd/database" +db_file "~/.config/mpd/database" # 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 -music_directory "~/music" +music_directory "~/music" # Uncomment to refresh the database whenever files in the music_directory are changed -auto_update "yes" +auto_update "yes" # Uncomment to enable the functionalities -playlist_directory "~/.config/mpd/playlists" -pid_file "~/.config/mpd/pid" -#state_file "~/.config/mpd/state" -sticker_file "~/.config/mpd/sticker.sql" +playlist_directory "~/.config/mpd/playlists" +pid_file "~/.config/mpd/pid" +#state_file "~/.config/mpd/state" +sticker_file "~/.config/mpd/sticker.sql" audio_output { - type "pulse" - name "pulse audio" + type "pulse" + name "pulse audio" } audio_output { - type "fifo" - name "my_fifo" - path "/tmp/mpd.fifo" - format "44100:16:2" + type "fifo" + name "my_fifo" + path "/tmp/mpd.fifo" + format "44100:16:2" } diff --git a/.config/ncmpcpp/config b/.config/ncmpcpp/config index c5bd588..9207dcf 100644 --- a/.config/ncmpcpp/config +++ b/.config/ncmpcpp/config @@ -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 @@ -65,15 +65,6 @@ visualizer_output_name = Visualizer feed 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 ## with fftw3 support. ##