feat: Log cleaned artist and title used for iTunes search.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user