update
Some checks failed
Rust CI / Build Release (push) Has been cancelled
Rust CI / Cargo Check (push) Has been cancelled

This commit is contained in:
lychang
2026-07-19 16:34:04 +08:00
parent 82653c1a6c
commit 093924ea99
10 changed files with 37 additions and 901 deletions

View File

@@ -298,7 +298,7 @@ pub async fn analyze_matches(db: &Database, patterns: &[Pattern]) -> MatchStats
let title = album.title.as_deref().unwrap_or("");
let current = album.person_name_original.as_deref().unwrap_or("");
if let Some((text, person, source)) = match_title(title, patterns) {
if let Some((_text, person, source)) = match_title(title, patterns) {
*stats.by_source.entry(source).or_insert(0) += 1;
*stats.name_frequency.entry(person.clone()).or_insert(0) += 1;