What problem does it solve?
Spotify integration projects struggle with token expiry, library state inconsistencies due to relinking, and scalable playlist management under rate limits.
Core Features & Use Cases
- Proactive token refresh to outlive short-lived access tokens and handle refresh token rotation.
- Relinking-aware library operations that use the original id for saved- state and handle saved/unsaved transitions via linked_from.
- Pagination and set-based dedup for building large playlists without duplicates.
- 429/Retry-After handling with exponential backoff to gracefully recover from rate limits.
- Playlist-creation strategies (by artist, by theme, from song list) to assemble curated playlists.
- Cover-art generation pipeline (SVG→PNG) with accessibility considerations and support for ugc-image-upload.
Quick Start
Apply the proactive token refresh, relinking-aware library operations, and playlist-creation patterns to your Spotify integration to ensure reliability and correct track handling.