stoof
This commit is contained in:
@@ -43,6 +43,8 @@ class Aggregate:
|
||||
sources: list = [cache_search,
|
||||
lrclib_search,
|
||||
genius_search]
|
||||
if not plain:
|
||||
sources = [lrclib_search] # Only LRCLib supported for synced lyrics
|
||||
search_result: Optional[LyricsResult] = None
|
||||
for source in sources:
|
||||
if source.label.lower() in self.exclude_methods:
|
||||
@@ -53,6 +55,7 @@ class Aggregate:
|
||||
if plain:
|
||||
logging.info("Skipping source: %s, excluded.", source.label)
|
||||
continue
|
||||
|
||||
search_result = await source.search(artist=artist, song=song,
|
||||
plain=plain)
|
||||
if search_result:
|
||||
|
||||
Reference in New Issue
Block a user