harbassan / spicetify-apps

A collection of spicetify custom apps to improve your spotify experience.
420 stars 28 forks source link

[Statistics] New Update Still Not Working #119

Closed BrandonKochnari closed 4 months ago

BrandonKochnari commented 4 months ago

Worked the first time I loaded it up but as soon as I added Last.fm key it stopped working. Tried resetting but nothing worked. Removed Last.fm key and restarted spotify but it gave me error message: Cannot read properties of undefined (reading 'map') for artists/tracks/genres and gave error message Cannot read properties of undefined (reading 'filter') for library. Tried uninstalling stats and reinstalling but gives same error message. Would appreciate if you could fix this issue tyvm.

harbassan commented 4 months ago

Could you open the devtools for me and show anything that pops up when you get the error? The command is spicetify enable-devtools in the shell and then you can ctrl-shift-I or right click open devtools the next time spotify opens.

BrandonKochnari commented 4 months ago

Screenshot 2024-07-20 014142

Well I reinstalled it and it worked but sacrificed that for you to see the errors by adding API key. API Key seems to be the issue as I restarted the app before adding the key and stats reloaded just fine.

harbassan commented 4 months ago

could you show me the network screen just as you click on the stats tab, and look for any failed requests. The problem could either be the request failed (maybe wrong key, username etc) or maybe you have no track/artist info on your account

BrandonKochnari commented 4 months ago

image You talking abt this?

harbassan commented 4 months ago

yeah but the tab in front is covering it. If you could move that out of the way then i can see it. what version of spotify and spicetify are you using btw, i have a feeling you might be out of date

BrandonKochnari commented 4 months ago

image Reinstalled newest version of spotify as of June 20 and spicetify even later.

harbassan commented 4 months ago

and there are definitely no other errors on there? If so, the only thing i can say is update spicetify to latest, and double check your last fm account to make sure it actually has some data on it.

BrandonKochnari commented 4 months ago

Alright thanks for the help I tried uninstalling and reinstalling Spicetify as well as stats and it seems to work fine now.

harbassan commented 4 months ago

sweet