Tools to work with your Spotify playlists.
- Synchronize your playlists with local YAML files.
-
Install dependencies:
uv sync --dev
-
Configure environment:
Copy
.env.exampleto.envand fill in your Spotify App credentials. You can create an app at Spotify Developer Dashboard.cp .env.example .env
Make sure to add
http://127.0.0.1:8888/callbackas a Redirect URI in your Spotify App settings. Use127.0.0.1instead oflocalhostin Spotify app settings. -
Run the CLI:
uv run listify --help # or uv run python -m spotify_lists --help
Authenticate with Spotify (opens a browser window):
uv run listify loginShow all your playlists:
uv run listify listDownload all playlists to playlists/ directory:
uv run listify download --allOr download a specific playlist by ID:
uv run listify download --id <spotify_playlist_id>Downloaded files are saved as playlist_<playlist_id>.yaml under playlists/.