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: don't seek to the start when swiping right #112

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

aykevl
Copy link
Contributor

@aykevl aykevl commented Oct 3, 2024

The API has an extra parameter allow_seeking that indicates whether the seek left is due to pressing the "prev" button, or because the album is swiped right to go to the previous track immediately.

This patch adds support for this feature.

There's still one issue however: when going to the previous song, the player will for a short time show the first track in an album. Not sure why, I suspect go-librespot doesn't send the whole queue (so the player doesn't know there are other tracks in the album). see #113 for a fix to this bug.

The API has an extra parameter `allow_seeking` that indicates whether
the seek left is due to pressing the "prev" button, or because the album
is swiped right to go to the previous track immediately.

This patch adds support for this feature.

There's still one issue however: when going to the previous song, the
player will for a short time show the first track in an album. Not sure
why, I suspect go-librespot doesn't send the whole queue (so the player
doesn't know there are other tracks in the album).
@devgianlu devgianlu merged commit 39f51bc into devgianlu:master Oct 3, 2024
1 check passed
@aykevl aykevl deleted the fix-prev-without-seek branch October 3, 2024 22:47
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