Skip to content

Keep searching after weak MusicBrainz results - #253

Closed
arclabs561 wants to merge 9 commits into
teal-fm:mainfrom
arclabs561:fix/musicbrainz-weak-matches
Closed

arclabs561 wants to merge 9 commits into
teal-fm:mainfrom
arclabs561:fix/musicbrainz-weak-matches

Conversation

@arclabs561

@arclabs561 arclabs561 commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Amethyst could stop at weak exact hits and miss the requested recording. Keep the fast path for strong hits and try the artist alias when CJK exact results are weak. The picker cancels stale searches when the query changes.

The evaluator excludes unavailable comparisons and counts actual HTTP requests. Offline tests cover a strong hit in one request, the movie versions of “Sparkle” and “Nandemonaiya” with two requests, and a weak CJK replay that recovers the recording in three requests. Follow-up to #98.

Summary by CodeRabbit

  • New Features
    • Music searches can continue through additional matching methods when initial results are limited.
    • Search progress displays separate messages for the initial search and additional matching.
    • Searches can find matches through artist aliases and fuzzy matching when exact results are insufficient.
  • Bug Fixes
    • Editing search details or clearing results stops outdated searches and clears previous selections.
    • Active searches no longer overlap, and results from cancelled searches are ignored.
    • Clearing results resets the search state, so the next search starts fresh.
    • Temporary service errors are retried, while unavailable searches are distinguished from valid searches with no matches.

@arclabs561 arclabs561 changed the title Keep searching MusicBrainz after a weak exact match Keep searching after weak MusicBrainz results Nov 22, 2026
coderabbitai[bot]

This comment was marked as outdated.

@mmattbtw

Copy link
Copy Markdown
Member

see: #255 (comment)

@mmattbtw mmattbtw closed this Nov 23, 2026
@teal-fm teal-fm deleted a comment from coderabbitai Bot Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants