This commit is contained in:
2025-01-16 07:14:36 -05:00
parent 915b77fe19
commit d58f2f9413
5 changed files with 21 additions and 12 deletions

View File

@ -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,