tweaks
This commit is contained in:
@ -185,7 +185,8 @@ class LyricSearch(FastAPI):
|
||||
|
||||
excluded_sources = data.excluded_sources
|
||||
aggregate_search = aggregate.Aggregate(exclude_methods=excluded_sources)
|
||||
result = await aggregate_search.search(data.a, data.s)
|
||||
plain_lyrics = not data.lrc
|
||||
result = await aggregate_search.search(data.a, data.s, plain_lyrics)
|
||||
if not result:
|
||||
return {
|
||||
'err': True,
|
||||
|
Reference in New Issue
Block a user