2022-01-20 08:31:26 +01:00
|
|
|
--- a/src/settings.cpp
|
|
|
|
+++ b/src/settings.cpp
|
|
|
|
@@ -237,18 +237,18 @@
|
2017-05-18 00:35:47 +02:00
|
|
|
// keep the same order of variables as in configuration file
|
2022-01-20 08:31:26 +01:00
|
|
|
p.add("ncmpcpp_directory", &ncmpcpp_directory, "~/.config/ncmpcpp/", adjust_directory);
|
2017-05-18 00:35:47 +02:00
|
|
|
p.add("lyrics_directory", &lyrics_directory, "~/.lyrics/", adjust_directory);
|
|
|
|
- p.add<void>("mpd_host", nullptr, "localhost", [](std::string host) {
|
2019-09-01 14:58:40 +02:00
|
|
|
+ p.add<void>("mpd_host", nullptr, "@TERMUX_PREFIX@/var/run/mpd.socket", [](std::string host) {
|
2017-05-18 00:35:47 +02:00
|
|
|
expand_home(host);
|
|
|
|
Mpd.SetHostname(host);
|
|
|
|
});
|
2017-05-24 13:55:43 +02:00
|
|
|
p.add<void>("mpd_port", nullptr, "6600", [](std::string port) {
|
|
|
|
Mpd.SetPort(verbose_lexical_cast<unsigned>(port));
|
|
|
|
});
|
|
|
|
- p.add("mpd_music_dir", &mpd_music_dir, "~/music", adjust_directory);
|
|
|
|
+ p.add("mpd_music_dir", &mpd_music_dir, "/sdcard/Music", adjust_directory);
|
|
|
|
p.add("mpd_connection_timeout", &mpd_connection_timeout, "5");
|
|
|
|
p.add("mpd_crossfade_time", &crossfade_time, "5");
|
2022-01-20 08:31:26 +01:00
|
|
|
p.add("random_exclude_pattern", &random_exclude_pattern, "");
|
|
|
|
- p.add("visualizer_data_source", &visualizer_data_source, "/tmp/mpd.fifo", adjust_path);
|
|
|
|
+ p.add("visualizer_data_source", &visualizer_data_source, "@TERMUX_PREFIX@/var/run/mpd.fifo", adjust_path);
|
2017-05-24 13:55:43 +02:00
|
|
|
p.add("visualizer_output_name", &visualizer_output_name, "Visualizer feed");
|
|
|
|
p.add("visualizer_in_stereo", &visualizer_in_stereo, "yes", yes_no);
|
2022-01-20 08:31:26 +01:00
|
|
|
p.add("visualizer_type", &visualizer_type,
|