Skip to content

Fix Missing MusicBrainz Search Results #97

Open
pixel3rr0r wants to merge 1 commit into
dn0ne:masterfrom
pixel3rr0r:fix-musicbrainz-search
Open

Fix Missing MusicBrainz Search Results #97
pixel3rr0r wants to merge 1 commit into
dn0ne:masterfrom
pixel3rr0r:fix-musicbrainz-search

Conversation

@pixel3rr0r
Copy link
Copy Markdown

This PR fixes an issue where certain search results do not appear in the result list when updating a track's metadata using MusicBrainz.

For example, previously searching for "The Weekend Whip" only returned one result ("The Weekend Whip and Nae Nae", but expected to find the release by The Fold), despite the MusicBrainz website itself showing more results. With this PR, the search result list matches the result list returned on the website.

Changes:

  • Adjusted the filtering logic to ensure that releases are processed even if artistCredit is null.
  • Updated the joinToString method to use a fallback to the original artist name when artistCredit is not available.

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.

1 participant