diff options
author | Thanos Apollo <[email protected]> | 2023-08-19 04:57:18 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-08-19 04:57:18 +0300 |
commit | 89138c3c9effd2b7d58510e7e215e29647682b9a (patch) | |
tree | 131628a737c9f1b56bb959cf095ff261a3946918 | |
parent | 12c0ce5c8775a84745892a622bf1bae1793073f0 (diff) |
yeetube-play-url: fix formatting
-rw-r--r-- | yeetube.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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'." |