Don't enable lyricsplugin.com by default, since it requires javascript to display the results, and don't try to use disabled plugins.

This commit is contained in:
David Sansome 2010-09-26 19:12:51 +00:00
parent f90f51197d
commit abb57c23db
1 changed files with 3 additions and 1 deletions

View File

@ -56,7 +56,6 @@ void LyricFetcher::ReloadSettings() {
if (saved_order.isNull()) {
// Hardcoded default order
ordered_providers << ProviderByName("lyrics.wikia.com")
<< ProviderByName("lyricsplugin.com")
<< ProviderByName("lyricstime.com")
<< ProviderByName("lyricsreg.com")
<< ProviderByName("lyricsmania.com")
@ -131,6 +130,9 @@ int LyricFetcher::SearchAsync(const Song& metadata) {
void LyricFetcher::DoSearch(const Song& metadata, int id) {
foreach (LyricProvider* provider, providers_) {
if (!provider->is_enabled())
continue;
emit SearchProgress(id, provider->name());
LyricProvider::Result result = provider->Search(metadata);