Skip to content

Commit

Permalink
fix(lava/source.py): update search query prefix to 'ytmsearch'
Browse files Browse the repository at this point in the history
  • Loading branch information
Nat1anWasTaken committed Jun 8, 2024
1 parent 5045edf commit 91f1661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lava/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 91f1661

Please sign in to comment.