mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-26 05:15:49 +03:00
[PR #113] [MERGED] fix: put previous tracks in the right order #216
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#216
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/113
Author: @aykevl
Created: 10/3/2024
Status: ✅ Merged
Merged: 10/3/2024
Merged by: @devgianlu
Base:
master← Head:fix-PrevTracks-order📝 Commits (1)
07bb1fdfix: put previous tracks in the right order📊 Changes
1 file changed (+4 additions, -0 deletions)
View changed files
📝
tracks/tracks.go(+4 -0)📄 Description
These tracks aren't directly visible, but they are visible (for a short bit) when pressing the 'prev' button.
Previously this would always show the first track in an album, which is incorrect. This fix makes sure that 'prev' actually shows the previous track.
Perhaps
slices.Reverseis not the right way to do this, please let me know if there's a better way.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.