diff --git a/shell/+mpd/.config/mpd/mpd-linux.conf b/shell/+mpd/.config/mpd/mpd-linux.conf index d7f6f727..90f01be7 100644 --- a/shell/+mpd/.config/mpd/mpd-linux.conf +++ b/shell/+mpd/.config/mpd/mpd-linux.conf @@ -5,6 +5,7 @@ db_file "~/music/.db/db" log_file "~/.config/mpd/mpd.log" pid_file "~/.config/mpd/mpd.pid" state_file "~/.config/mpd/mpdstate" +bind_to_address "~/.config/mpd/mpd.sock" gapless_mp3_playback "yes" restore_paused "yes" diff --git a/shell/+mpd/.ncmpcpp/config b/shell/+mpd/.ncmpcpp/config index a5b48c30..6629db2c 100644 --- a/shell/+mpd/.ncmpcpp/config +++ b/shell/+mpd/.ncmpcpp/config @@ -5,7 +5,7 @@ ncmpcpp_directory = ~/.ncmpcpp lyrics_directory = ~/music/.db/lyrics ##### connection settings ##### -#mpd_host = "~/.config/mpd/mpd.sock" +mpd_host = "~/.config/mpd/mpd.sock" #mpd_host = "127.0.0.1" #mpd_port = 6600 #mpd_connection_timeout = 5 diff --git a/shell/+mpd/bin/mpc b/shell/+mpd/bin/mpc new file mode 100755 index 00000000..aa7a2535 --- /dev/null +++ b/shell/+mpd/bin/mpc @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +/usr/bin/mpc -h ~/.config/mpd/mpd.sock $@