-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Playlists tab only shows 50 items #1421
Comments
Slightly worrying: I think it might not be A solution would be lazy loading of container items, but that wouldn't be easy to implement... |
Hello, I have noticed the 429 error too when developing my music bot which in case of Spotify fetches track metadata etc from their API. When Spotify returns a 429 error code, it also returns a "Retry-After" header field, which contains a value in milliseconds for how long you should wait before the next request. |
Oh I didn't know. For me the 429 error on their website lasts for several minutes though so I don't know whether that's a solution. I also think ncspot already has handling for 429 in |
If I recall, the "Retry-After" keeps increasing if it is not respected, so that could be why your 429 error lasts for minutes |
That might be the reason for the long waiting time then. Still, something must have changed as for example v0.13.0 used to work fine and now it doesn't. I don't know what changed, but I do know that I have way more than 50 playlists and only 50 of them are showing currently. I will try to look into this further when I have the time, but that will sadly not be soon 😢 |
It's good that it's not just me having this problem, I was quite worried when I opened ncspot this morning! I can confirm this happens for me too, although I'm on v0.13.0 and it's still broken, so I suspect it's a change on Spotify's end with their API. I have around 200 playlists that used to all show in ncspot using the "Custom order" I ordered them all in Spotify by dragging and dropping. Now ncspot only shows the first 50 most recent playlists, according to the order I last listened to each one in Spotify, with the most recent at the top and least recent at the bottom. I haven't changed anything with Spotify like putting playlists into folders, and I have all my playlists in many different nested folders anyway. I don't know how to check if I get a 429 error from Spotify but if you show me how I'll see if I can confirm that happens for me too :) |
Having a similar issue after update, except no playlists are showing up at all. Tracks, Albums, and Artists works, but not Podcasts or Playlists. Hope this helps. |
@ethanredmond2 It shows up when I browse to the web player. I get a plain white page with 439 instead. |
Possibly related: librespot-org/librespot#1261 |
One way to verify this could be by checking if the problem is fixed with this branch: #1244 |
That fixes it. I guess I'll just use that branch for now. |
Are you still experiencing this with the release? I can't reproduce it with the |
I think the combination of VPN + downloading the entire library was causing rate limits. I noticed that every time I opened ncspot, the web player would become broken as well. I kind of stopped using ncspot because of this, which is sad as I like it way more than the web player, but the rate limits just make it impossible. I also received very frequent emails that forced me to reset my password, which was probably caused by the same problem. This issue is probably only a problem with a VPN, so nothing that can easily be solved in ncspot. I will close this. |
It's not limited to 50 playlists for me anymore, it shows all my playlists. It's possible Spotify fixed the problem on their end? Interestingly though, my playlists are now in order of most recently played instead of the custom order I manually dragged and dropped them in the Spotify interface. |
I don't know whether it was the branch that solved it or it just happened to work that time. I'll probably come back to |
Describe the bug
ncspot
only shows 50 playlists in the playlists tab. I counted them as I suspect it's a problem with paging which has a hard coded value that is 50 if I remember correctly. I think it had something to do with the Spotify API limiting requests to 50 items. I'm not 100% sure about this. When I scroll to the bottom of the list, more items aren't loaded, so it's not just a missing paging indicator.To Reproduce
ncspot
Expected behavior
All playlists should load or a paging indicator should be shown.
Screenshots
System
Setup 1
ncspot 1.0.0 (38010b4)
cargo
Setup 2
ncspot 1.1.0
(Arch Linux package is missing the git SHA-1 inncspot --version
)Setup 3
v0.13.0
&v0.12.0
Setup 4
ncspot 1.0.0
(I only remember the version but I'm not on Windows currently)winget
Backtrace/Debug log
/
Additional context
I opened
ncspot
on Linux where it had already run before and saw way more playlists before it updated the library and most of them disappeared and only 50 were left. I moved some playlists into folders on Spotify recently, so I thought that might have been it. I tried moving them all out of the folders again, waited a few hours so any caching on their end would probably be gone and tried again without luck. The bug still occurs.The text was updated successfully, but these errors were encountered: