Backup your Spotify playlists as CSV files.
- Docker
- Registration of a Spotify Web API client.
- As callback url, use
http://localhost:8086/public/index.php/authorize
.
- As callback url, use
- Add
./app/.env
(see./app/.env.sample
) - Bash into the container:
cd .docker
,docker compose up -d
,docker compose exec php-apache bash
- Install packages:
composer install
- Warmup cache:
php bin/console cache:warmup
- Cache the access token: Go to http://localhost:8086/public/index.php/authorize (you may have to log in to Spotify)
- Bash into the container
- Run
php bin/console app:backup-playlists
Your backup will be located in ./app/backups
.