From 383bcc82645842a54b6e38e156d39425b4536c77 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 1 Jul 2023 08:32:04 +0300 Subject: yt-download(s): Update to use default dir & update docs --- yeetube.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/yeetube.el b/yeetube.el index 82cc3bb..21fe8c3 100644 --- a/yeetube.el +++ b/yeetube.el @@ -116,12 +116,16 @@ Example Usage: (let ((url (org-element-property :raw-link (org-element-context)))) (when (string-prefix-p "http" url) + (let ((default-directory yt-download-directory)) (async-shell-command (format "yt-dlp %s" url)) - (message "Downloading %s " url)))) + (message "Downloading %s " url))))) (defun yt-download-videos () "Download one or multiple videos using yt-dlp. +This command is not meant to be used through the +*Yeetube Search* buffer. + Usage Example: Open a Dired buffer and navigate where you want to download your videos, then run this command interactively." -- cgit v1.2.3