cull lyric_search acceptable request sources

This commit is contained in:
codey 2025-02-18 13:33:29 -05:00
parent ed1bc29cc8
commit 1a11977918

View File

@ -63,13 +63,9 @@ class LyricSearch(FastAPI):
self.acceptable_request_sources: list = [ self.acceptable_request_sources: list = [
"WEB", "WEB",
"WEB-RADIO", "WEB-RADIO",
"IRC-MS",
"IRC-FS",
"IRC-KALI",
"DISC-ACES",
"DISC-HAVOC", "DISC-HAVOC",
"IRC-SHARED",
"LIMNORIA-SHARED", "LIMNORIA-SHARED",
"IRC-SHARED",
] ]
self.lrc_regex: Pattern = regex.compile(r'\[([0-9]{2}:[0-9]{2})\.[0-9]{1,3}\](\s(.*)){0,}') self.lrc_regex: Pattern = regex.compile(r'\[([0-9]{2}:[0-9]{2})\.[0-9]{1,3}\](\s(.*)){0,}')