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

Fix Artists Page #2

Open
wants to merge 9 commits into
base: development
Choose a base branch
from

Conversation

QPixel
Copy link

@QPixel QPixel commented Jan 29, 2024

This PR fixes Spot's ability to load artist pages.

Spotify for some reason returns integers with a .0 and serde parses them as floats. So now Image width/height is stored as a float64. Which TBH is pretty large, but I personally believe that this future proofs against other Spotify breaking changes.

Additionally, it's random if Spotify returns a float or a integer and it depends on which API route. :))))))

@QPixel
Copy link
Author

QPixel commented Jan 29, 2024

Sorry about the large commit count, I based this off of my previous PR before it was merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant