tweaks/fixes
This commit is contained in:
parent
bfe09e8afc
commit
151643c5dc
@ -62,6 +62,8 @@ class RedisCache:
|
|||||||
raise RedisException("Lyric search not yet implemented")
|
raise RedisException("Lyric search not yet implemented")
|
||||||
|
|
||||||
if not is_random_search:
|
if not is_random_search:
|
||||||
|
artist = artist.replace("-", "")
|
||||||
|
song = song.replace("-", "")
|
||||||
search_res = await self.redis_client.ft().search(
|
search_res = await self.redis_client.ft().search(
|
||||||
Query(f"@artist:{artist} @song:{song}"
|
Query(f"@artist:{artist} @song:{song}"
|
||||||
))
|
))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user