Using a different Downloader

Using a different Downloader is similar to the process of using a different player.

You can again change this directly in the settings or you can also adjust the DOWNLOADER environmental variable.

By default, this variable will be set to:

youtube-dl --output $HOME/Downloads/%(title)s-%(id)s.%(ext)s

If you are using the Flatpak-Version, yt-dlp will be used instead, as this is already packaged in the Flatpak. When trying to change the DOWNLOADER for Flatpak, it is important to leave the --output $HOME/Downloads/%(title)s-%(id)s.%(ext)s, as the Flatpak only has access to the Downloads-directory.

Download in a different format

By default, the best available format will be chosen. This is not desirable most of the time as this can take ages to download.

Lets say you want to download 720p instead, and you are using the Flatpak-Version. You will have to change DOWNLOADER to:

yt-dlp -f bestvideo[height<=720]+bestaudio/best[height<=720] --output $HOME/Downloads/%(title)s-%(id)s.%(ext)s

Note: Leaving out the Quotation Marks around the format somehow seems to be important.

Notice

Copyright: 2021 Julian Schmidhuber github@schmiddi.anonaddy.com

Unless otherwise noted content on this wiki may be used under the terms of the GNU FDL, either version 1.3 (https://www.gnu.org/licenses/fdl-1.3.html) or (at your opinion) any later version of the license, or (at your opinion) the CC-BY-SA-4.0-license (https://creativecommons.org/licenses/by-sa/4.0/legalcode).