From 0599c066d95f3960ad301421c10ef5d9951e7587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=B6rdle=20Bot?= Date: Mon, 24 Nov 2025 15:39:29 +0100 Subject: [PATCH] feat: Log cleaned artist and title used for iTunes search. --- scripts/slow-refresh-itunes.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/slow-refresh-itunes.js b/scripts/slow-refresh-itunes.js index 498392e..32fb7a5 100644 --- a/scripts/slow-refresh-itunes.js +++ b/scripts/slow-refresh-itunes.js @@ -98,6 +98,10 @@ async function main() { console.log(`${progress} Processing: "${song.title}" by "${song.artist}"`); + const cleanArtist = cleanSearchTerm(song.artist); + const cleanTitle = cleanSearchTerm(song.title); + console.log(` → Searching: "${cleanTitle}" by "${cleanArtist}"`); + // 3. Query iTunes with Retry Logic let year = null; let retries = 0;