diff --git a/allstarr/wwwroot/index.html b/allstarr/wwwroot/index.html index 0f589bf..3e9d5fc 100644 --- a/allstarr/wwwroot/index.html +++ b/allstarr/wwwroot/index.html @@ -1176,6 +1176,16 @@ const externalMissing = p.externalMissing || 0; const totalInJellyfin = p.totalInJellyfin || 0; + // Debug: Log the raw data + console.log(`Playlist ${p.name}:`, { + spotifyTotal, + localCount, + externalMatched, + externalMissing, + totalInJellyfin, + rawData: p + }); + // Build detailed stats string let statsHtml = `${spotifyTotal}`; @@ -1202,9 +1212,7 @@ const completionColor = completionPct === 100 ? 'var(--success)' : completionPct >= 80 ? 'var(--accent)' : 'var(--warning)'; // Debug logging - if (p.name && (localCount > 0 || externalMatched > 0)) { - console.log(`Playlist ${p.name}: total=${spotifyTotal}, local=${localCount} (${localPct}%), external=${externalMatched} (${externalPct}%)`); - } + console.log(`Progress bar for ${p.name}: local=${localPct}%, external=${externalPct}%, total=${completionPct}%`); return `