From da42fd78d2cd7bb8ce43d03b0a496aa89eea1fcd Mon Sep 17 00:00:00 2001 From: Tarulia Date: Mon, 8 Sep 2025 17:20:03 +0200 Subject: [PATCH] cleanup notification text --- src/renderer/features/player/hooks/use-scrobble.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renderer/features/player/hooks/use-scrobble.ts b/src/renderer/features/player/hooks/use-scrobble.ts index bb52cbde..f4fbadb3 100644 --- a/src/renderer/features/player/hooks/use-scrobble.ts +++ b/src/renderer/features/player/hooks/use-scrobble.ts @@ -108,11 +108,11 @@ export const useScrobble = () => { ) { const artists = currentSong.artists?.length > 0 - ? currentSong.artists.map((artist) => artist.name).join(', ') + ? currentSong.artists.map((artist) => artist.name).join(' ยท ') : currentSong.artistName; - new Notification(`Now playing ${currentSong.name}`, { - body: `by ${artists} on ${currentSong.album}`, + new Notification(`${currentSong.name}`, { + body: `${artists}\n${currentSong.album}`, icon: currentSong.imageUrl || undefined, }); }