From 9bf9b708cbb5c6db9c2c527a60b4ae797896e0a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Sun, 26 Jul 2026 09:40:58 +0000 Subject: [PATCH] reindex-music: show discography count in the report Co-Authored-By: Claude Opus 4.8 --- scripts/reindex-music.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/reindex-music.ts b/scripts/reindex-music.ts index 1ad3ca1d..4ed77912 100644 --- a/scripts/reindex-music.ts +++ b/scripts/reindex-music.ts @@ -28,6 +28,7 @@ type Report = { foldersScanned: number; tracksIndexed: number; coversSaved: number; + discographies: number; elapsedSec: number; error: string | null; }; @@ -67,6 +68,7 @@ function printReport(r: Report): void { l('Albums:', `${r.albums} (${r.built} built, ${r.skipped} unchanged)`); l('Tracks:', `${r.tracksIndexed} indexed`); l('Covers:', `${r.coversSaved} compressed`); + l('Discogs:', `${r.discographies} artist${r.discographies === 1 ? '' : 's'}`); l('Folders:', `${r.foldersScanned} scanned`); l('Elapsed:', `${r.elapsedSec}s`); if (r.error) l('Error:', r.error);