From 5070fd88b5fe01fab5926e5e3b464e1a6e5b47ac Mon Sep 17 00:00:00 2001 From: niko <57009359+hauntii@users.noreply.github.com> Date: Fri, 20 Dec 2024 09:19:51 -0500 Subject: [PATCH] fix(discord): Fix Album Art failing on Discord RPC (#2666) --- src/providers/song-info.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/song-info.ts b/src/providers/song-info.ts index 8a69f1f4..bd11907c 100644 --- a/src/providers/song-info.ts +++ b/src/providers/song-info.ts @@ -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);