mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 15:35:56 +03:00
[GH-ISSUE #288] Long playlist - API Pagination limit reached #206
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#206
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 @maffelbaffel on GitHub (Mar 27, 2022).
Original GitHub issue: https://github.com/jpochyla/psst/issues/288
Describe the bug
So here I am sitting with a playlist of 700+ tracks, wondering why Psst can not add more songs to it.
Seems like I have reached some sort of fetch limit of the Spotify API?
The last song displayed is the 550th song in that list.
To Reproduce
Add 550 songs and another one to a playlist. 551 should not be displayed in that playlist.
Expected behavior
Some sort of API paging that fetches all songs.
Environment
@rklasen commented on GitHub (Jul 19, 2022):
It seems this also applies to the "Liked Songs" playlist, which seems to be called "Saved Tracks" in psst. I couldn't find a way to count the songs that are shown, but it's much less than in the official client (~2700).
@instinctualjealousy commented on GitHub (Aug 26, 2022):
I have a list of over 2000 (the entirety of my music, just for shuffle library purposes) and judging on Spotify page's count, my last track is also the 550th.
@tt37 commented on GitHub (Oct 25, 2022):
Same issue here. As a workaround, I increased the pagination limit from 500 to 2000 (adjust the maximum to your needs). There's a TODO comment at the corresponding location, so it appears to be a known issue.
@Insprill commented on GitHub (May 2, 2023):
Until a better way of handling paginated items is implemented, #394 added a config option to set the amount of tracks that can be loaded.