Skip to content

Download Spotify playlists, artists, albums or tracks via yt-dlp.

License

Notifications You must be signed in to change notification settings

TheWicklowWolf/SpotTube

Repository files navigation

Build Status Docker Pulls

spottube

SpotTube is a tool for downloading Spotify Artists/Albums/Tracks/Playlists via yt-dlp.

Run using docker-compose

services:
  spottube:
    image: thewicklowwolf/spottube:latest
    container_name: spottube
    environment:
      - PUID=1000
      - PGID=1000
      - spotify_client_id=abc
      - spotify_client_secret=123
      - thread_limit=1
      - artist_track_selection=all
    volumes:
      - /path/to/config:/spottube/config
      - /data/media/spottube:/spottube/downloads
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 5000:5000
    restart: unless-stopped

Configuration via environment variables

Certain values can be set via environment variables:

  • PUID: The user ID to run the app with. Defaults to 1000.
  • PGID: The group ID to run the app with. Defaults to 1000.
  • thread_limit: Max number of threads to use. Defaults to 1.
  • artist_track_selection: Select which tracks to download for an artist, options are all or top. Defaults to all.

Cookies (optional)

To utilize a cookies file with yt-dlp, follow these steps:

  • Generate Cookies File: Open your web browser and use a suitable extension (e.g. cookies.txt for Firefox) to extract cookies for a user on YT.

  • Save Cookies File: Save the obtained cookies into a file named cookies.txt and put it into the config folder.


image


SpotTubeDark


https://hub.docker.com/r/thewicklowwolf/spottube