diff --git a/allstarr/wwwroot/index.html b/allstarr/wwwroot/index.html index b9b40bc..8161b7a 100644 --- a/allstarr/wwwroot/index.html +++ b/allstarr/wwwroot/index.html @@ -1164,6 +1164,8 @@ // Calculate completion percentage const completionPct = spotifyTotal > 0 ? Math.round((totalInJellyfin / spotifyTotal) * 100) : 0; + const localPct = spotifyTotal > 0 ? Math.round((localCount / spotifyTotal) * 100) : 0; + const externalPct = spotifyTotal > 0 ? Math.round((externalMatched / spotifyTotal) * 100) : 0; const completionColor = completionPct === 100 ? 'var(--success)' : completionPct >= 80 ? 'var(--accent)' : 'var(--warning)'; return ` @@ -1173,8 +1175,9 @@ ${statsHtml}${breakdown}
-
-
+
+
+
${completionPct}%