1 Advanced Usage
Salehin Ashfi edited this page 2025-07-15 04:52:11 +06:00

Advanced Usage

Dotify offers a wide range of options to customize your download experience.

Downloading Videos

Dotify can download both podcast videos and music videos if you have a premium Spotify account.

Podcast Videos

Use the --download-podcast-videos flag with a podcast episode URL. If a video version is available, Dotify will download it.

dotify "https://open.spotify.com/episode/3kwxWnzGH8T6UY2Nq582zx" --download-podcast-videos

Music Videos

Use the --download-music-videos flag with a song URL. Dotify will search for linked music videos and present an interactive list for you to choose from.

dotify "https://open.spotify.com/track/31k4hgHmrbzorLZMvMWuzq" --download-music-videos

Downloading Synced Lyrics

Dotify can save synced lyrics as a .lrc file alongside the audio file.

  • This is enabled by default. To disable it, use --no-lrc.

    • To download only the lyrics and skip the audio, use --lrc-only.
dotify "https://open.spotify.com/track/18gqCQzqYb0zvurQPlRkpo" --lrc-only

Customizing File and Folder Paths with Templates

You can control the exact folder structure and filename for your downloads using template variables.

  • Folder Templates: --template-folder-album, --template-folder-compilation, etc.

    • File Templates: --template-file-single-disc, --template-file-multi-disc, etc.

Example:
To save songs in a Artist/Album/01-Title.m4a format, you could set these options in your config file:

{
    "template_folder_album": "{artist}/{album}",
    "template_file_single_disc": "{track:02d}-{title}"
}

See the Configuration page for a full list of all available template variables.

Batch Downloading from a Text File

Instead of listing many URLs on the command line, you can save them in a text file (one URL per line) and use the --read-urls-as-txt flag.

urls.txt:

https://open.spotify.com/track/18gqCQzqYb0zvurQPlRkpo
https://open.spotify.com/album/0r8D5N674HbTXlR3zNxeU1

Command:

dotify --read-urls-as-txt urls.txt