diff options
author | Thanos Apollo <[email protected]> | 2023-09-27 15:22:50 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-09-27 15:22:50 +0300 |
commit | c8e97645693237bcd9a988783c3431b63501a9a7 (patch) | |
tree | f1b01ec36bba1e2fca15dfcc7e3c625c4257ce29 | |
parent | 75a05e4b524845a0a97c024a9b723bdbc9249299 (diff) |
yeetube-mpv: Fix functions name prefix
-rw-r--r-- | yeetube-mpv.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/yeetube-mpv.el b/yeetube-mpv.el index 172d933..4470394 100644 --- a/yeetube-mpv.el +++ b/yeetube-mpv.el @@ -35,20 +35,20 @@ :safe #'booleanp :group 'yeetube) -(defun yeetube-process (command) +(defun yeetube-mpv-process (command) "Start yeetube process for shell COMMAND." - (let ((yeetube-process "yeetube")) + (let ((yeetube-mpv-process "yeetube")) (dolist (process (process-list)) - (when (string-match yeetube-process (process-name process)) + (when (string-match yeetube-mpv-process (process-name process)) (kill-process process))) (sit-for 0.1) - (unless (get-process yeetube-process) + (unless (get-process yeetube-mpv-process) (start-process-shell-command "yeetube" nil command)))) (defun yeetube-mpv (url) "Start yeetube process to play URL using mpv." - (yeetube-process + (yeetube-mpv-process (if yeetube-mpv-disable-video (format "%s --no-video '%s'" (executable-find "mpv") url) (format "%s '%s'" (executable-find "mpv") url))) @@ -64,7 +64,7 @@ (message "yeetube: mpv added no-video flag"))) (defun yeetube-mpv-send-keypress (key) - "Send KEY to yeetube-process." + "Send KEY to yeetube-mpv-process." (interactive "sKey: ") (process-send-string "yeetube" key)) |