From a85dc41e686668805826152846259358dcb81365 Mon Sep 17 00:00:00 2001 From: vveeps <54472340+vveeps@users.noreply.github.com> Date: Thu, 7 Oct 2021 17:46:09 +0300 Subject: [PATCH] change spotify track youtube query to "artist - title" --- pomice/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pomice/player.py b/pomice/player.py index a64a73e..8ff6489 100644 --- a/pomice/player.py +++ b/pomice/player.py @@ -149,7 +149,7 @@ class Player(VoiceProtocol): """Plays a track. If a Spotify track is passed in, it will be handled accordingly.""" if track.spotify: spotify_track: objects.Track = (await self.node.get_tracks( - f"ytmsearch:{track.title} {track.author}" + f"ytmsearch:{track.author} - {track.title}" ))[0] await self._node.send( op="play",