Skip to content

Commit

Permalink
DiscordRPC - Include ?u for urls to show streaming platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
Inrixia committed Jun 25, 2024
1 parent 5d84653 commit ee9e421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/DiscordRPC/src/updateRPC.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const updateRPC = async (currentlyPlaying: TrackItem, playbackState: Play
if (_rpcClient === undefined) return;

const activityState: Presence = {
buttons: [{ url: `https://tidal.com/browse/track/${currentlyPlaying.id}`, label: "Play on Tidal" }],
buttons: [{ url: currentlyPlaying.url ?? `https://tidal.com/browse/track/${currentlyPlaying.id}?u`, label: "Play on Tidal" }],
};

// Pause indicator
Expand Down

0 comments on commit ee9e421

Please sign in to comment.