serkansulun / midi-emotion

Generates multi-instrument symbolic music (MIDI), based on user-provided emotions from valence-arousal plane.
Other
58 stars 8 forks source link

Add Spotify features: Problematic tracks #3

Closed owen910715 closed 1 year ago

owen910715 commented 1 year ago

What should I do if there are several problematic tracks when I'm running run.py?

serkansulun commented 1 year ago

It can be normal. Can you try getting the features for those individual tracks?

owen910715 commented 1 year ago

Oh I see. But a bigger one occured. The program just completely stopped at a certain track with no errors, any solutions to that? Thanks :)

serkansulun commented 1 year ago

I think after a certain quota is exceeded, Spotify blocks access, so the script hangs. I pushed a new commit, which uses a file that keeps an incomplete list of features obtained from Spotify, so that the script can be run multiple times and it will continue from where it has left.

When the script hangs, i.e. the user quota is exceeded, you can re-run the script some time later, request an increase in quota, or use a different account with different client ID and secret.

I'm sorry that I cannot share the features directly, due to legal restrictions.