mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
Merge pull request #524 from MulverineX/patch-1
Add album art/thumbnail to discord activity
This commit is contained in:
@ -103,7 +103,7 @@ module.exports = (win, { activityTimoutEnabled, activityTimoutTime, listenAlong
|
|||||||
type: 2, // Listening, addressed in https://github.com/discordjs/RPC/pull/149
|
type: 2, // Listening, addressed in https://github.com/discordjs/RPC/pull/149
|
||||||
details: songInfo.title,
|
details: songInfo.title,
|
||||||
state: songInfo.artist,
|
state: songInfo.artist,
|
||||||
largeImageKey: "logo",
|
largeImageKey: songInfo.imageSrc,
|
||||||
largeImageText: [
|
largeImageText: [
|
||||||
songInfo.uploadDate,
|
songInfo.uploadDate,
|
||||||
songInfo.views.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") + " views",
|
songInfo.views.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") + " views",
|
||||||
|
|||||||
Reference in New Issue
Block a user