Skip to content
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

Full analysis page only showing followed playlists #79

Open
ethansshaw opened this issue Sep 27, 2022 · 3 comments
Open

Full analysis page only showing followed playlists #79

ethansshaw opened this issue Sep 27, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@ethansshaw
Copy link

Ran spottydata from the web build, and it only shows 1 playlist. It's the one playlist I "follow"/"like" from Spotify themselves. Unliking it causes the application to crash, throwing error

Error: Network Error at e.exports (https://www.spottydata.com/_next/static/chunks/508-f09f51cc7f007f1f.js:1:43584) at h.onerror (https://www.spottydata.com/_next/static/chunks/508-f09f51cc7f007f1f.js:1:39241)

Wondering if anyone else has this issue, perhaps a change in the API? I haven't checked the site in a long time, I don't know if it's actively maintained at the moment.

@ethansshaw ethansshaw changed the title Statistics page only showing followed playlists Full analysis page only showing followed playlists Sep 27, 2022
@nleroy917 nleroy917 added the bug Something isn't working label Sep 27, 2022
@nleroy917
Copy link
Owner

Hi Ethan. Thanks for raising the issue. I maintain the site as much as I can these days.

I'm curious about a couple of things:

  1. Do you have any playlists outside your "likes"?
  2. If yes, are they private?

It should grab both private and public playlists, but it might not be. I should have time to dive into this by weeks end. It's tough to test these things since I basically need a fresh account I can manipulate!

@ethansshaw
Copy link
Author

Great to hear from you! Love the tool. I have lots of both playlists, there are definitely some both public and private. My girlfriend also gave it a try with her account, and got an error as well. The main page pulls seemingly correct details about the total tracks (3764) and playlists (63), but the analysis page seems to have no listening data at all.

@nleroy917
Copy link
Owner

Looking at the logs on the backend, I'm seeing a lot of errors related to this:

http status: 400, code:-1 - https://api.spotify.com/v1/artists/?ids=

I'm wondering if there are playlists it pulls that it can't get artist_ids for. This can happen especially if you have a lot of local tracks saved to your profile. There are many other things that can cause it... I can probably add a check in the code to make sure it finds artist_ids before making that request.

Ran spottydata from the web build, and it only shows 1 playlist.

This is a little concerning, however, since it feels unrelated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants