mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-25 21:05:47 +03:00
[GH-ISSUE #288] Seek in long station contexts always times out due to O(n) sequential page fetching #174
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#174
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?
Originally created by @leodurandfr on GitHub (Feb 11, 2026).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/288
When transferring playback to go-librespot with a long listening history, TrySeek always times out because it must sequentially fetch every page from 0 to N via linked-list pagination (NextPageUrl).
Example: station with 28,500 tracks requires fetching 570 pages sequentially within the 30-second dealer timeout, which is physically impossible (~57s minimum on typical hardware).
Error log:
Root cause in code:
Possible fixes:
Environment: go-librespot v0.6.2, Raspberry Pi 5