spotDL / spotify-downloader

Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).
https://spotdl.readthedocs.io/en/latest/
MIT License
17.48k stars 1.6k forks source link

v4.0.0 ffmpeg path update example command is non-functional #1539

Closed Akolyte01 closed 2 years ago

Akolyte01 commented 2 years ago

System Operating System (OS)

Windows

Python Version

3.10 (CPython)

Install Source

pip / PyPi

Install version / commit hash

v4.0.0

Expected Behavior vs Actual Behavior

After upgrading to v4 and attempting to use spotdl, spotdl's ffmpeg path is not set. An example command is given for updating the path, but the command does not appear to work.

I have tried various formats of the path and final location (ffmeg directory, bin, and the exe) but all of them have the same error.

Steps to reproduce

  1. Install spotdl version 4 with ffmpeg installed
  2. Attempt to use spotdl
  3. Attempt to use example command to update spotdl ffmpeg path.

Traceback

spotdl.utils.ffmpeg.FFmpegError: FFmpeg is not installed. Please run `spotdl --download-ffmpeg` to install it, or `spotdl --ffmpeg /path/to/ffmpeg` to specify the path to ffmpeg.

C:\Users\scott>spotdl --ffmpeg C:\ffmpeg\bin
usage: spotdl [-h] [--audio [{youtube,youtube-music} ...]] [--lyrics [{genius,musixmatch,azlyrics} ...]] [--config]
              [--search-query SEARCH_QUERY] [--dont-filter-results] [--user-auth] [--client-id CLIENT_ID]
              [--client-secret CLIENT_SECRET] [--cache-path CACHE_PATH] [--no-cache] [--cookie-file COOKIE_FILE]
              [--ffmpeg FFMPEG] [--threads THREADS]
              [--bitrate {8k,16k,24k,32k,40k,48k,64k,80k,96k,112k,128k,160k,192k,224k,256k,320k}]
              [--ffmpeg-args FFMPEG_ARGS] [--format {mp3,flac,ogg,opus,m4a}] [--save-file SAVE_FILE] [--preload]
              [--output OUTPUT] [--m3u M3U] [--overwrite {skip,force}] [--restrict] [--print-errors] [--sponsor-block]
              [--log-level {CRITICAL,FATAL,ERROR,WARN,WARNING,INFO,DEBUG,NOTSET}] [--simple-tui] [--headless]
              [--download-ffmpeg] [--generate-config] [--check-for-updates] [--profile] [--version]
              {download,save,web,sync} query [query ...]
spotdl: error: the following arguments are required: operation, query


### Other details

_No response_
xnetcat commented 2 years ago

Fixed, update

xnetcat commented 2 years ago

Also this command doesn't update FFmpeg path. To do this you have to use config file