fix: resolve album-only autofill and placeholder re-enrich regressions

- Dart: _metadataMatchIsConfident now handles album-only case (title empty)
  by adding albumMatches fallback branch
- Go: selectBestReEnrichTrack treats placeholder values (Unknown Title,
  Unknown Artist) as empty via isPlaceholderReEnrichValue, so album-based
  fallback filtering works correctly
- Add test for placeholder album fallback in selectBestReEnrichTrack
This commit is contained in:
zarzet
2026-06-02 00:58:40 +07:00
parent 822c094c8c
commit 4f5163be01
3 changed files with 45 additions and 6 deletions
@@ -643,6 +643,9 @@ class _EditMetadataSheetState extends State<_EditMetadataSheet> {
if (currentTitle.isNotEmpty) {
return titleMatches;
}
if (currentAlbum.isNotEmpty) {
return albumMatches;
}
return false;
}