lyrics: redesigned plugins system

This commit is contained in:
Andrzej Rybczak
2010-08-09 11:39:41 +02:00
parent d3cb0ea6f6
commit daad444f3c
11 changed files with 209 additions and 195 deletions

View File

@@ -1037,16 +1037,6 @@ void NcmpcppConfig::Read()
{
regex_type = REG_EXTENDED * (v != "basic");
}
# ifdef HAVE_CURL_CURL_H
else if (cl.find("lyrics_database") != std::string::npos)
{
if (!v.empty())
{
unsigned n = StrToInt(v)-1;
lyrics_db = n < Lyrics::DBs ? n : 0;
}
}
# endif // HAVE_CURL_CURL_H
else if (cl.find("lines_scrolled") != std::string::npos)
{
if (!v.empty())