aboutsummaryrefslogtreecommitdiffstats
path: root/yeetube.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-08-16 03:09:28 +0300
committerThanos Apollo <[email protected]>2023-08-16 03:09:28 +0300
commit3da56ca7d9edd32ee12f8e3c369267620c18e987 (patch)
treec6e46741bff4e2d16b8bc230cc014d245ab8e79c /yeetube.el
parent6fd8dbfdf939f377534ac5cd4419427a6538172c (diff)
Fix variable names
just use a single dast for yeetube-yt-dlp exec
Diffstat (limited to 'yeetube.el')
-rw-r--r--yeetube.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/yeetube.el b/yeetube.el
index f49c4df..4a143d0 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -119,7 +119,7 @@ It's recommended you keep it as the default value."
(define-key yeetube-mode-map (kbd "P") 'yeetube-play-saved-video)
yeetube-mode-map))
-(defvar yeetube--yt-dlp (executable-find "yt-dlp"))
+(defvar yeetube-yt-dlp (executable-find "yt-dlp"))
(defvar yeetube-content nil)
@@ -355,11 +355,11 @@ It's recommended you keep it as the default value."
(async-shell-command
(if yeetube-download-audio-format
(format "%s %s --extract-audio --audio-format %s"
- (shell-quote-argument yeetube--yt-dlp)
+ (shell-quote-argument yeetube-yt-dlp)
(shell-quote-argument url)
(shell-quote-argument yeetube-download-audio-format))
(format "%s %s"
- (shell-quote-argument yeetube--yt-dlp)
+ (shell-quote-argument yeetube-yt-dlp)
(shell-quote-argument url)))
(message "Downloading %s " url))))))
@@ -395,12 +395,12 @@ prompt blank to keep the default name."
(call-process-shell-command
(if yeetube-download-audio-format
(format "%s %s --extract-audio --audio-format %s -o %s"
- (shell-quote-argument yeetube--yt-dlp)
+ (shell-quote-argument yeetube-yt-dlp)
(shell-quote-argument url)
(shell-quote-argument yeetube-download-audio-format)
(shell-quote-argument name))
(format "%s %s -o %s"
- (shell-quote-argument yeetube--yt-dlp)
+ (shell-quote-argument yeetube-yt-dlp)
(shell-quote-argument url)
(shell-quote-argument name)))
nil 0)))))