Skip to content

barisahmet/spotdl-playlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotdl-playlist

Uses spotdl Python library to download a spotify playlist into specified folder and keeps it up-to-date. Personally, I use it for my Home Assistant setup to play tracks locally with my Sonos devices.

Note

It automatically handles spotdl library updates. No update necessary.

Example docker-compose.yml:

version: "3"
services:
  spotdl:
    container_name: spotdl
    restart: unless-stopped
    image: ghcr.io/barisahmet/spotdl-playlist:latest
    volumes:
      - /path/to/folder:/music
      - /path/to/logs:/logs
    environment:
      PLAYLIST_URLS: "https://[spotify playlist url here],https://[another spotify playlist url here]"
      ENABLE_LOGS: "true"
      SYNC_INTERVAL: "daily"

Environment Variables

  • PLAYLIST_URLS: Comma-separated list of Spotify playlist URLs to sync.
  • SYNC_INTERVAL: Interval for syncing playlists (e.g., hourly, daily).
  • ENABLE_LOGS: Set to true to enable logging, false to disable logging.

Volumes

  • /music: Directory to store downloaded music.
  • /logs: Directory to store log files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages