Skip to content

Commit

Permalink
Modify Spotify search query string
Browse files Browse the repository at this point in the history
  • Loading branch information
shiibe authored and NextFire committed May 1, 2023
1 parent 78601ee commit e66e635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion music-rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e66e635

Please sign in to comment.