mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-14 11:51:47 +00:00
Enhance Discord RPC Presence with direct link to Git Repository
This commit is contained in:
@ -161,9 +161,10 @@ export default (
|
|||||||
state: songInfo.artist,
|
state: songInfo.artist,
|
||||||
largeImageKey: songInfo.imageSrc ?? '',
|
largeImageKey: songInfo.imageSrc ?? '',
|
||||||
largeImageText: songInfo.album ?? '',
|
largeImageText: songInfo.album ?? '',
|
||||||
buttons: options.listenAlong ? [
|
buttons: [
|
||||||
{ label: 'Listen Along', url: songInfo.url ?? '' },
|
...(options.listenAlong ? [{ label: 'Listen Along', url: songInfo.url ?? '' }] : []),
|
||||||
] : undefined,
|
{ label: 'View App On GitHub', url: 'https://github.com/th-ch/youtube-music' },
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
if (songInfo.isPaused) {
|
if (songInfo.isPaused) {
|
||||||
|
|||||||
Reference in New Issue
Block a user