summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yeetube.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/yeetube.el b/yeetube.el
index 56c4e94..c103b84 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -156,8 +156,9 @@ Example Usage:
(when (string-prefix-p "http" url)
(setq yeetube-last-played url)
(if (eq yeetube-player 'mpv)
- (yeetube--mpv-play url)
- (call-process-shell-command (format "%s %s" media-player url))))))
+ (yeetube-start-mpv-process url)
+ (yeetube-start-process
+ (format "%s %s" media-player url))))))
(defun yeetube-play ()
"Open the url at point in an `'org-mode buffer using ='yeetube-player'."