Browse Source

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

android-5
its-pointless 8 years ago
committed by Fredrik Fornwall
parent
commit
535151505b
  1. 2
      packages/ncmpcpp/settings.cpp.patch

2
packages/ncmpcpp/settings.cpp.patch

@ -5,7 +5,7 @@
p.add("ncmpcpp_directory", &ncmpcpp_directory, "~/.ncmpcpp/", adjust_directory); p.add("ncmpcpp_directory", &ncmpcpp_directory, "~/.ncmpcpp/", adjust_directory);
p.add("lyrics_directory", &lyrics_directory, "~/.lyrics/", 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, "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); expand_home(host);
Mpd.SetHostname(host); Mpd.SetHostname(host);
}); });

Loading…
Cancel
Save