1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-15 02:46:57 +01:00

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

View File

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