summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-07-01 08:32:04 +0300
committerThanos Apollo <[email protected]>2023-07-01 08:32:04 +0300
commit383bcc82645842a54b6e38e156d39425b4536c77 (patch)
tree51a40c6b596e289de586b8349d72984455b08dd4
parent6468bf806408013d914dc711c31b748795a2c36e (diff)
yt-download(s): Update to use default dir & update docs
-rw-r--r--yeetube.el6
1 files changed, 5 insertions, 1 deletions
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."