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

Fix shuffle by grouping #4335

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

toy
Copy link
Contributor

@toy toy commented Jul 24, 2023

Check-list

  • There is a linked issue discussing the motivations for this feature or bugfix
  • Unit tests have been added where possible
  • I've added / updated documentation for any user-facing features.
  • Performance seems to be comparable or better than current main

What this change is adding / fixing

This PR is caused by unexpected behaviour when going back'n'forth between groupings. Fox example if there are albums A, B and C (and grouping is done by album), if complete album A plays out and shuffle selects album B, and I press previous and last track of A starts playing, but next track afterwards will be randomly B or C, while I would still expect it to be B.

toy added 3 commits July 23, 2023 21:49
Main reason is to fix how next grouping is changed if going back'n'forth
between previous and next grouping. If we have groupings A, B and C,
previous way, after playing A and going to B, if previous is used to go
to last track of A, next could randomly be B or C, but I would expect it
to always get back to B.
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.

None yet

1 participant