zachwinter / kaleidosync

A WebGL Spotify visualizer made with Vue, D3, and Three.js.
https://www.kaleidosync.com
809 stars 61 forks source link

Potential way to avoid rate-limiting #21

Closed GabeDahl closed 4 years ago

GabeDahl commented 4 years ago

One way to avoid polling the playback state is to create a Spotify web player in the browser window. Anytime the playback state is adjusted by the user, the object updates immediately. I believe it doesn't even need to make an API call. The catch is that users may need Spotify premium to use this functionality.

Let me know if this makes sense and if you'd like any help