commit 7e482965952686093a29d5da634071e1d0df373c
parent 969e20ef965bf1151a914e6858741a286fcf2ea8
Author: Alex Balgavy <alex@balgavy.eu>
Date: Tue, 29 Dec 2020 19:17:27 +0100
mpd: remove unneeded options, bind to Unix socket
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/mpd/mpd.conf b/mpd/mpd.conf
@@ -15,6 +15,7 @@ audio_output {
bind_to_address "127.0.0.1"
port "6600"
+bind_to_address "~/.local/share/mpd/socket"
user "alex"
# Visualizer
@@ -23,8 +24,6 @@ audio_output {
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
- auto_resample "no"
- use_mmap "yes"
}
# refresh the database when files in music_directory change
diff --git a/ncmpcpp/config b/ncmpcpp/config
@@ -5,8 +5,9 @@ lyrics_directory = "~/.local/share/lyrics"
mpd_music_dir = "~/Music/Libraries/Mine/"
system_encoding = "utf-8"
-mpd_host = "localhost"
-mpd_port = "6600"
+mpd_host = "~/.local/share/mpd/socket"
+# mpd_host = "localhost"
+# mpd_port = "6600"
mpd_connection_timeout = "5"
message_delay_time = "1"