CmdID

CmdID / Commands

trackfetch

Download songs listed in a text file as tagged MP3, M4A, or Opus files, using Spotify metadata and YouTube audio. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Download songs listed in a text file as tagged MP3, M4A, or Opus files, using Spotify metadata and YouTube audio. Requires yt-dlp, ffmpeg, and the $SPOTIFY_CLIENT_ID and $SPOTIFY_CLIENT_SECRET environment variables.

Download every song from a file with one Artist - Title per line into ~/Music/trackfetch

trackfetch path/to/songs.txtIdentify

Download songs into a specific directory

trackfetch path/to/songs.txt --output path/to/directoryIdentify

Keep YouTube's original audio instead of converting it to MP3

trackfetch path/to/songs.txt --format opusIdentify

Name the files by song title only, instead of Artist - Title

trackfetch path/to/songs.txt --title-onlyIdentify

Wait a number of seconds between songs to avoid rate limiting

trackfetch path/to/songs.txt --delay 3Identify

Retry the songs that failed in a previous run

cut --delimiter '|' --fields 1 path/to/directory/failed.txt >path/to/retry.txt && trackfetch path/to/retry.txt --output path/to/directoryIdentify

Display help

trackfetch --helpIdentify