|
|
|
|
@ -218,7 +218,6 @@ void DefaultKeys(ncmpcpp_keys &keys) |
|
|
|
|
void DefaultConfiguration(ncmpcpp_config &conf) |
|
|
|
|
{ |
|
|
|
|
conf.mpd_host = "localhost"; |
|
|
|
|
conf.mpd_password = ""; |
|
|
|
|
conf.song_list_format = "{%a - }{%t}|{[.white]%f[/white]}%r{[.green](%l)[/green]}"; |
|
|
|
|
conf.song_columns_list_format = "(8)[green]{l} (25)[cyan]{a} (40){t} (30)[red]{b}"; |
|
|
|
|
conf.song_status_format = "{(%l) }{%a - }{%t}|{%f}"; |
|
|
|
|
@ -502,11 +501,6 @@ void ReadConfiguration(ncmpcpp_config &conf) |
|
|
|
|
if (!v.empty()) |
|
|
|
|
conf.mpd_host = v; |
|
|
|
|
} |
|
|
|
|
else if (it->find("mpd_password") != string::npos) |
|
|
|
|
{ |
|
|
|
|
if (!v.empty()) |
|
|
|
|
conf.mpd_password = v; |
|
|
|
|
} |
|
|
|
|
else if (it->find("mpd_music_dir") != string::npos) |
|
|
|
|
{ |
|
|
|
|
if (!v.empty()) |
|
|
|
|
|