summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-08-25 12:11:43 +0300
committerThanos Apollo <[email protected]>2023-08-26 00:09:55 +0300
commit25759176ea86009e93d316ad7ed8bb4a80f92316 (patch)
tree32d39f37f1f43d3406361aab935e1a1a38f1bef9
parentde9f29ee448d08a06b4314d57a2d698a91bd92a3 (diff)
fix: yeetube-start-mpv-process
Adjust for non bash shells
-rw-r--r--yeetube.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/yeetube.el b/yeetube.el
index 6d5fcc6..a50fd01 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -225,8 +225,8 @@ Example Usage:
"Start yeetube process to play URL using mpv."
(yeetube-start-process
(if yeetube-mpv-disable-video
- (format "%s --no-video %s" (executable-find "mpv") url)
- (format "%s %s" (executable-find "mpv") url)))
+ (format "%s --no-video '%s'" (executable-find "mpv") url)
+ (format "%s '%s'" (executable-find "mpv") url)))
(message "yeetube: starting mpv process"))
(defun yeetube-mpv-toggle-no-video-flag ()