mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-26 13:25:49 +03:00
[PR #112] [MERGED] fix: don't seek to the start when swiping right #215
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#215
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/devgianlu/go-librespot/pull/112
Author: @aykevl
Created: 10/3/2024
Status: ✅ Merged
Merged: 10/3/2024
Merged by: @devgianlu
Base:
master← Head:fix-prev-without-seek📝 Commits (1)
429194afix: don't seek to the start when swiping right📊 Changes
3 files changed (+5 additions, -4 deletions)
View changed files
📝
cmd/daemon/controls.go(+2 -2)📝
cmd/daemon/player.go(+2 -2)📝
dealer/recv.go(+1 -0)📄 Description
The API has an extra parameter
allow_seekingthat 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 https://github.com/devgianlu/go-librespot/pull/113 for a fix to this bug.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.