support for following lyrics of now playing song

This commit is contained in:
unK
2008-09-20 20:06:14 +02:00
parent f0a810cdc0
commit aa80c13c2e
5 changed files with 49 additions and 12 deletions

View File

@@ -186,6 +186,7 @@ void DefaultConfiguration(ncmpcpp_config &conf)
conf.space_selects = false;
conf.albums_in_tag_editor = false;
conf.incremental_seeking = true;
conf.now_playing_lyrics = false;
conf.set_window_title = true;
conf.mpd_connection_timeout = 15;
conf.crossfade_time = 5;
@@ -569,6 +570,10 @@ void ReadConfiguration(ncmpcpp_config &conf)
{
conf.incremental_seeking = v == "yes";
}
else if (it->find("follow_now_playing_lyrics") != string::npos)
{
conf.now_playing_lyrics = v == "yes";
}
else if (it->find("enable_window_title") != string::npos)
{
conf.set_window_title = v == "yes";