harbassan / spicetify-apps

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

"Analysing your library" stucked #21

Closed WalterBiely closed 1 year ago

WalterBiely commented 1 year ago

When I select Library. it says "Analysing your library" and nothing happens.

subflame commented 1 year ago

same here latest spotify, latest spicetify i listen for 5 hours today and stats add only 25 tracks but zero in artist genres and library

harbassan commented 1 year ago

@WalterBiely could i see the console logs just as you open the library tab.

harbassan commented 1 year ago

i listen for 5 hours today and stats add only 25 tracks but zero in artist genres and library

It is 'top-genres' and it is fetched according to spotify, so if it is inaccurate in any way then there's nothing I can do about that unfortunately. As for the library, it only tracks songs in your playlists. So if you didnt add a song yo any of your saved playlists it will not update.

zeinou705 commented 1 year ago

Capture d’écran 2023-06-24 220338

Capture d’écran 2023-06-24 220444

Ishanlnx commented 1 year ago

image_2023-06-25_153920613 image_2023-06-25_153809630

zeinou705 commented 1 year ago

we have the same problem

harbassan commented 1 year ago

make sure your files are in the right place and have the right name. There should be a folder in your custom apps folder called 'stats' which directly contains the files.

jeroentvb commented 1 year ago

@WalterBiely could i see the console logs just as you open the library tab.

It's only logging a whole lot of these lines. But that's also happening on the other pages of the stats app. image

harbassan commented 1 year ago

yeah it doesnt seem like there are any errors showing, could you scroll all the way through and look for a red higlighted log.

jeroentvb commented 1 year ago

The console doesn't show any errors related to spicetify-stats, and while I was checking for errors the library page loaded. So I guess it just loads really slow.

DrInbred commented 1 year ago

Is the "Analysing Your Library" problem fixed. I installed spicetify through powershell and I followed the instructions of installation of this repository. Everything works except the "Analysing Your Library" feature. It's just stuck.

DrInbred commented 1 year ago

How do you see the console logs?

jeroentvb commented 1 year ago

How do you see the console logs?

Enter spicetify enable-devtools in your console of choice, right click the bottom of the spotify window and select inspect element, then click on console in the top bar of the window that opened.

MirasNurtazin commented 1 year ago

make sure your files are in the right place and have the right name. There should be a folder in your custom apps folder called 'stats' which directly contains the files.

Hello! I have the exact same problem and I checked all of that several times. Everything seems right. So how do I solve this issue? Or at least delete that "Stats" icon? I'm new to all these things so I don't really understand most of the things going on there.

harbassan commented 1 year ago

For anyone having this issue, please could you screenshot the console logs, specifically the error messages relating to 'stats' otherwise I have no way of fixing the issue. There's no point in just saying you have the issue, I need to see the logs.

cretaceous-rexd commented 1 year ago

For anyone having this issue, please could you screenshot the console logs, specifically the error messages relating to 'stats' otherwise I have no way of fixing the issue. There's no point in just saying you have the issue, I need to see the logs.

After switching to Library tab:

image

harbassan commented 1 year ago

ok so it seems like a certain song is causing an issue. could you copy the whole link the error is showing (api.spotify one) and paste it. the full link would be quite long.

cretaceous-rexd commented 1 year ago

https://api.spotify.com/v1/artists?ids= seems to be the full link however there is sp://core-playlist/v1/playlist/spotify%3Aplaylist%3A37i9dQZF1EYkqdzj48dyYq/?responseFormat=protobufJson&start=0&length=01 as well when I tried again, not an api.spotify link tho xpui.app.spotify.com-1691237307653.log

harbassan commented 1 year ago

the full link would be a lot longer, i forgot exactly how to get it but you should definitely be able to find it. Also, do you have a lot of local tracks by any chance

cretaceous-rexd commented 1 year ago

I have 165 local tracks (according to Spotify) which may be a lot As for the spotify link, I couldn't find the full link after searching 'stats'/'spotify'/other words in the Network tab (tried with no filter as well), and the Console tab only says the short link. I took a JSON net export using the chrome tools if it may be of use

cretaceous-rexd commented 1 year ago

The link in a breakpoint image

harbassan commented 1 year ago

ok i'm pretty certain this has to do with local artists messing with the api request, ill try and fix this soon.