Unrud / video-downloader

Download videos from websites like YouTube and many others (based on yt-dlp)
GNU General Public License v3.0
765 stars 96 forks source link

(Feature Request) Choice for download location #143

Open Esteemed-bigman opened 2 years ago

Esteemed-bigman commented 2 years ago

As stated in the title, an option to choose where to download a video would be nice. Especially for downloading things directly to external storage's and such

adam01212 commented 2 years ago

Esteemed-bigman, you can change the download location via a hidden option.. it all depends on how you have installed video-downloader

Download folder

Paths can either be absolute or start with ~, xdg-desktop, xdg-download, xdg-templates, xdg-publicshare, xdg-documents, xdg-music, xdg-pictures or xdg-videos.

The default is xdg-download/VideoDownloader. Flatpak

flatpak run --command=gsettings com.github.unrud.VideoDownloader set com.github.unrud.VideoDownloader download-folder '~/VideoDownloader'

Grant filesystem access to the sandboxed app:

flatpak override --user --filesystem='~/VideoDownloader:create' com.github.unrud.VideoDownloader

Snap

snap run --shell video-downloader -c 'gsettings "$@"' '' set com.github.unrud.VideoDownloader download-folder '~/VideoDownloader'

All of these hidden options are on the main github page

Note: you cannot use removable media at the moment if you install via snap because by default the "removable-media" connection isn't made in the BASEDIR/meta/snap.yaml file of the .snap file

not-a-dev-stein commented 2 years ago

It'd be ideal if there was a folder picker for the downloaded video in the UI of the program itself instead of creating a VideoDownloader folder in Downloads, it's kind of a given for a downloader program to be able to choose where to save the downloaded file to.

Unrud commented 2 years ago

152