Skip to content

Commit

Permalink
feat: use cover image for discord rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
FrzMtrsprt authored Oct 9, 2024
1 parent 4ad742c commit 246c7d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/electron/ipcMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ export function initIpcMain(win, store, tray, lrc) {
details: track.name + ' - ' + track.ar.map(ar => ar.name).join(','),
state: track.al.name,
endTimestamp: Date.now() + track.dt,
largeImageKey: 'logo',
largeImageText: 'Listening ' + track.name,
largeImageKey: 'track.al.picUrl',
largeImageText: al.name,
smallImageKey: 'play',
smallImageText: 'Playing',
instance: true,
Expand All @@ -254,8 +254,8 @@ export function initIpcMain(win, store, tray, lrc) {
client.updatePresence({
details: track.name + ' - ' + track.ar.map(ar => ar.name).join(','),
state: track.al.name,
largeImageKey: 'logo',
largeImageText: 'YesPlayMusic',
largeImageKey: 'track.al.picUrl',
largeImageText: al.name,
smallImageKey: 'pause',
smallImageText: 'Pause',
instance: true,
Expand Down

0 comments on commit 246c7d2

Please sign in to comment.