Use socket for mpd + add mpc shim
This commit is contained in:
parent
1f36083340
commit
a48b455bf1
|
@ -5,6 +5,7 @@ db_file "~/music/.db/db"
|
||||||
log_file "~/.config/mpd/mpd.log"
|
log_file "~/.config/mpd/mpd.log"
|
||||||
pid_file "~/.config/mpd/mpd.pid"
|
pid_file "~/.config/mpd/mpd.pid"
|
||||||
state_file "~/.config/mpd/mpdstate"
|
state_file "~/.config/mpd/mpdstate"
|
||||||
|
bind_to_address "~/.config/mpd/mpd.sock"
|
||||||
|
|
||||||
gapless_mp3_playback "yes"
|
gapless_mp3_playback "yes"
|
||||||
restore_paused "yes"
|
restore_paused "yes"
|
||||||
|
|
|
@ -5,7 +5,7 @@ ncmpcpp_directory = ~/.ncmpcpp
|
||||||
lyrics_directory = ~/music/.db/lyrics
|
lyrics_directory = ~/music/.db/lyrics
|
||||||
|
|
||||||
##### connection settings #####
|
##### connection settings #####
|
||||||
#mpd_host = "~/.config/mpd/mpd.sock"
|
mpd_host = "~/.config/mpd/mpd.sock"
|
||||||
#mpd_host = "127.0.0.1"
|
#mpd_host = "127.0.0.1"
|
||||||
#mpd_port = 6600
|
#mpd_port = 6600
|
||||||
#mpd_connection_timeout = 5
|
#mpd_connection_timeout = 5
|
||||||
|
|
3
shell/+mpd/bin/mpc
Executable file
3
shell/+mpd/bin/mpc
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
/usr/bin/mpc -h ~/.config/mpd/mpd.sock $@
|
Loading…
Reference in a new issue