From 91f1661ae5d38ed4493f7ce83e376725a4d1cb4f Mon Sep 17 00:00:00 2001 From: Nat1anWasTaken Date: Sat, 8 Jun 2024 15:30:10 +0800 Subject: [PATCH] fix(lava/source.py): update search query prefix to 'ytmsearch' --- lava/source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lava/source.py b/lava/source.py index 43715b52..f36683bd 100644 --- a/lava/source.py +++ b/lava/source.py @@ -46,7 +46,7 @@ async def load(self, client): # skipcq: PYL-W0201 getLogger('lava.sources').info("Loading spotify track %s...", self.title) result: LoadResult = await client.get_tracks( - f'ytsearch:{self.title} {self.author}' + f'ytmsearch:{self.title} {self.author}' ) if result.load_type != LoadType.SEARCH or not result.tracks: