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

Album page: fix listen formatting for BrainzPlayer #2686

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

MonkeyDo
Copy link
Member

Currently, with #2639 not yet merged, the album page can only play a single listen at a time and then stops once at the end of the track.
This is because of how I implemented the translation from the tracks we get in props into the Listen format BrainzPlayer expects and relies on to figure out which track is playing.

I reused the utility function I already refactored when working on the Artist page, but Ideally we would send the same track format to both pages to avoid this game.

@MonkeyDo MonkeyDo requested a review from amCap1712 December 27, 2023 15:28
Copy link
Member

@amCap1712 amCap1712 left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks!

@MonkeyDo MonkeyDo merged commit 582e627 into master Dec 27, 2023
2 checks passed
@MonkeyDo MonkeyDo deleted the fix-album-page-listens branch December 27, 2023 15:35
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