misc/formatting ++ resolve #33 (restructured radio DBs, combined genre into track_file_map, revised query w/ INNER JOIN)

This commit is contained in:
2025-07-01 13:02:53 -04:00
parent c3f753a4f0
commit 1d7589ffbd
8 changed files with 43 additions and 40 deletions

View File

@@ -77,7 +77,7 @@ class LyricSearch(FastAPI):
handler,
methods=["POST"],
include_in_schema=_schema_include,
dependencies=[Depends(RateLimiter(times=2, seconds=3))]
dependencies=[Depends(RateLimiter(times=2, seconds=3))],
)
async def typeahead_handler(self, data: ValidTypeAheadRequest) -> JSONResponse:
@@ -170,10 +170,10 @@ class LyricSearch(FastAPI):
)
if not result:
if not data.lrc:
await self.notifier.send(
"DEBUG", f"Could not locate lyrics, request was:\n`{data}`"
)
# if not data.lrc:
# await self.notifier.send(
# "DEBUG", f"Could not locate lyrics, request was:\n`{data}`"
# )
return JSONResponse(
content={
"err": True,