mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 02:31:45 +00:00
fix(discord): Fix Album Art failing on Discord RPC (#2666)
This commit is contained in:
@ -140,7 +140,7 @@ const handleData = async (
|
||||
}
|
||||
|
||||
const thumbnails = videoDetails.thumbnail?.thumbnails;
|
||||
songInfo.imageSrc = thumbnails.at(-1)?.url.split('?')[0];
|
||||
songInfo.imageSrc = thumbnails.at(-1)?.url;
|
||||
if (songInfo.imageSrc) songInfo.image = await getImage(songInfo.imageSrc);
|
||||
|
||||
win.webContents.send('ytmd:update-song-info', songInfo);
|
||||
|
||||
Reference in New Issue
Block a user