spot_dwl

Crates.iospot_dwl
lib.rsspot_dwl
version1.1.0
sourcesrc
created_at2023-04-14 15:20:44.890739
updated_at2024-01-07 12:53:18.698027
descriptionA simple helper to download songs from spotify using spotdl
homepage
repositoryhttps://github.com/taishingi/spot_dwl.git
max_upload_size
id839230
size52,227
Willy Micieli (taishingi)

documentation

README

spot_dwl

A music downloader from youtube using spotify

I

Spotify premium is required

II

Install libnotify, pip, ffmpeg, on your system.

III

sudo pip3 install spotdl 

IV

spotdl --download-ffmpeg

V

spotdl --generate-config

Config

The config file is located ~/.spotdl/config.json under linux.

{
  "client_id": "5f573c9620494bae87890c0f08a60293",
  "client_secret": "212476d9b0f3472eaa762d90b19b0ba8",
  "auth_token": null,
  "user_auth": false,
  "headless": false,
  "cache_path": "/Users/username/.spotdl/.spotipy",
  "no_cache": false,
  "max_retries": 3,
  "audio_providers": [
    "youtube-music"
  ],
  "lyrics_providers": [
    "genius",
    "azlyrics",
    "musixmatch"
  ],
  "playlist_numbering": false,
  "scan_for_songs": false,
  "m3u": null,
  "output": "{artists} - {title}.{output-ext}",
  "overwrite": "skip",
  "search_query": null,
  "ffmpeg": "ffmpeg",
  "bitrate": null,
  "ffmpeg_args": null,
  "format": "mp3",
  "save_file": null,
  "filter_results": true,
  "threads": 4,
  "cookie_file": null,
  "restrict": false,
  "print_errors": false,
  "sponsor_block": false,
  "preload": false,
  "archive": null,
  "load_config": true,
  "log_level": "INFO",
  "simple_tui": false,
  "fetch_albums": false,
  "id3_separator": "/",
  "ytm_data": false,
  "add_unavailable": false,
  "web_use_output_dir": false,
  "port": 8800,
  "host": "localhost",
  "keep_alive": false,
  "allowed_origins": null,
  "keep_sessions": false
}

Installation

cargo install spot_dwl

Usage

spot_dwl "song-url" "song url" ...

All song url start with https://open.spotify.com

Commit count: 0

cargo fmt