From e66e635f898e3f48ba5705c0ef48ebb3919d4942 Mon Sep 17 00:00:00 2001 From: shibe <82057235+shiibe@users.noreply.github.com> Date: Mon, 1 May 2023 15:37:51 -0400 Subject: [PATCH] Modify Spotify search query string --- music-rpc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music-rpc.ts b/music-rpc.ts index ddd8f6f..18c59bb 100755 --- a/music-rpc.ts +++ b/music-rpc.ts @@ -206,7 +206,7 @@ async function setActivity(rpc: Client) { activity.state = formatStr(props.artist); } - const query = `${props.artist} ${props.name}`; + const query = `artist:${props.artist} track:${props.name}`; activity.buttons = [ { label: "Search on Spotify",