ncmpcpp default settings to work with mpd default (#1043)

This commit is contained in:
its-pointless 2017-05-24 01:34:35 +10:00 committed by Fredrik Fornwall
parent 186ca71704
commit c94753b3ef

View File

@ -5,7 +5,7 @@
p.add("ncmpcpp_directory", &ncmpcpp_directory, "~/.ncmpcpp/", adjust_directory);
p.add("lyrics_directory", &lyrics_directory, "~/.lyrics/", adjust_directory);
- p.add<void>("mpd_host", nullptr, "localhost", [](std::string host) {
+ p.add<void>("mpd_host", nullptr, "~/.mpd/socket", [](std::string host) {
+ p.add<void>("mpd_host", nullptr, "~/../usr/tmp/mpd.socket", [](std::string host) {
expand_home(host);
Mpd.SetHostname(host);
});