Re-add lyric search history storage, missed previously
This commit is contained in:
parent
2855772ac1
commit
ed3e9bd03a
@ -95,7 +95,7 @@ class LyricSearch(FastAPI):
|
||||
"IRC-KALI",
|
||||
"DISC-ACES",
|
||||
"DISC-HAVOC",
|
||||
"LIMNORIA-SHARED"
|
||||
"IRC-SHARED"
|
||||
]
|
||||
|
||||
for endpoint, handler in self.endpoints.items():
|
||||
@ -182,6 +182,12 @@ class LyricSearch(FastAPI):
|
||||
'err': True,
|
||||
'errorText': 'Sources exhausted, lyrics not located.'
|
||||
}
|
||||
|
||||
|
||||
await self.lyrics_engine.storeHistEntry(artist=search_worker.get('artist'),
|
||||
song=search_worker.get('song'),
|
||||
retr_method=search_worker.get('method'),
|
||||
request_src=src.strip())
|
||||
|
||||
return {
|
||||
'err': False,
|
||||
|
Loading…
x
Reference in New Issue
Block a user