Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LB-1103: Only show front cover art in ListenCards #3167

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

MonkeyDo
Copy link
Member

@MonkeyDo MonkeyDo commented Feb 7, 2025

Requested by @Aerozol, for cases where the user has provided a release MBID, but there is no front image for that release (for example a vinyl release with liner notes added but no front cover: https://musicbrainz.org/release/ce5deb72-4bc3-461f-b92e-1637709f70ef/cover-art).

In that case, fallback to another method to get a front cover (from the release group, finds a front image if there is one), in this case: https://musicbrainz.org/release/62d9695f-ac89-474c-b9c8-ee95828e2e58/cover-art

I kept the rest of the mechanism as untouched as possible, the new option is, well, optional, and defaults to the previous logic.

Before:
image

After:
image

Requested on the ticket, fro cases where the user has provided a release MBID, but there is no front image for it.
In that case, fallback to another method to get a front cover
@MonkeyDo MonkeyDo requested a review from anshg1214 February 7, 2025 12:16
Copy link
Member

@anshg1214 anshg1214 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR looks good! But, I'm not sure on how to test it.

@MonkeyDo MonkeyDo merged commit 9525dd5 into master Feb 10, 2025
3 checks passed
@MonkeyDo MonkeyDo deleted the cover-art-front-image branch February 10, 2025 10:48
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