Automate music downloads from Spotify playlists to your media server.
10K+
SpotiArr is a self-hosted tool inspired by the *arr suite (like Lidarr), designed to automate the downloading and synchronization of music from Spotify playlists to your local media server (Jellyfin, Plex, Navidrome, etc.).
Artist/Album/) and M3U playlists automatically.yt-dlp to find the best matching audio source.The easiest way to run SpotiArr is with Docker Compose. It requires a Redis instance to handle the download queues.
docker-compose.yml file:services:
spotiarr:
image: mralexandersaavedra/spotiarr:latest
container_name: spotiarr
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- ./config:/spotiarr/config
- ./downloads:/downloads
environment:
- SPOTIFY_CLIENT_ID=your_client_id
- SPOTIFY_CLIENT_SECRET=your_client_secret
# Public IP or Domain where SpotiArr will be accessed.
# Required for Spotify Auth Redirect.
- PUBLIC_HOST=192.168.1.50
depends_on:
- redis
redis:
image: redis:7-alpine
container_name: spotiarr-redis
restart: unless-stopped
volumes:
- redis-data:/data
volumes:
redis-data:
2.Run the container:
docker compose up -d
3.Access the dashboard at https://<YOUR_IP>:3000. Note: On the first run, you will see a self-signed certificate warning because SpotiArr generates secure HTTPS certificates automatically for Spotify OAuth compatibility.
You need to create a Spotify App to get these credentials:
Client ID and Client Secret.https://<YOUR_HOST>:3000/api/auth/spotify/callback.| Variable | Description | Default |
|---|---|---|
SPOTIFY_CLIENT_ID | Required. Your Spotify Application Client ID. | - |
SPOTIFY_CLIENT_SECRET | Required. Your Spotify Application Client Secret. | - |
PUBLIC_HOST | The IP address or domain name where you access SpotiArr. | localhost |
TZ | Timezone for logs and scheduling (e.g., America/New_York). | UTC |
| Volume | Description |
|---|---|
/spotiarr/config | Stores the SQLite database, settings, and generated certificates. |
/downloads | Where your music files and covers will be saved. Map this to your media library. |
latest: The latest stable release.v0.1.1: Specific version tags (immutable).0.1: Latest minor version updates.Content type
Image
Digest
sha256:e1173215bโฆ
Size
201.9 MB
Last updated
3 months ago
docker pull mralexandersaavedra/spotiarr