From 9e2cc101605a649187e64814380b8a76de037fc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hosa?= Date: Wed, 23 Sep 2026 15:22:04 +0000 Subject: [PATCH] Aktualizovat content.js --- content.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content.js b/content.js index 24e33a9..8c212dc 100644 --- a/content.js +++ b/content.js @@ -24,8 +24,8 @@ function extractAndSendSong() { const progressFull = `${currentTime}/${duration}`; if (songTitle) { - // Vytvoříme podpis, abychom posílali data buď při změně písničky, nebo každou vteřinu kvůli posunu času - const currentSignature = `${artistTitle}-${songTitle}-${currentTime}`; + // Opraveno z artistTitle na artistName + const currentSignature = `${artistName}-${songTitle}-${currentTime}`; if (currentSignature !== lastSentSignature) { lastSentSignature = currentSignature; @@ -41,7 +41,7 @@ function extractAndSendSong() { artist: artistName, title: songTitle, coverImg: albumCoverUrl, - progressTime: progressFull, // Bude obsahovat např. "0:53/3:45" + progressTime: progressFull, timestamp: new Date().toISOString() }) }).catch(err => {