summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-08-20 11:31:06 +0300
committerThanos Apollo <[email protected]>2023-08-20 11:31:06 +0300
commit77a3af795cd621b7201291fa6d34846eb103169b (patch)
treece05964d8fb1eac1a671bbbbc6111132a37ebeb3
parent85bf338fc375eacbf66cf726ae761fd892d661f1 (diff)
Rename: yeetube-send-keypress -> yeetube-mpv-send-keypress
Since I'm using this package with mpv, and this function probably is not working with all the media players out there, it would be more appropriate to have all the media-player specific functions for yeetube to be with 'yeetube-mpv to avoid any confusion in the future.
-rw-r--r--yeetube.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/yeetube.el b/yeetube.el
index 90f33eb..8320ff9 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -237,7 +237,7 @@ Example Usage:
(setq yeetube-mpv-disable-video t)
(message "yeetube: mpv added no-video flag")))
-(defun yeetube-send-keypress (key)
+(defun yeetube-mpv-send-keypress (key)
"Send KEY to yeetube-process."
(interactive "sKey: ")
(process-send-string "yeetube" key))
@@ -245,19 +245,19 @@ Example Usage:
(defun yeetube-mpv-toggle-pause ()
"Toggle pause mpv."
(interactive)
- (yeetube-send-keypress "p")
+ (yeetube-mpv-send-keypress "p")
(message "yeetube: toggle pause"))
(defun yeetube-mpv-toggle-fullscreen ()
"Toggle fullscreen."
(interactive)
- (yeetube-send-keypress "f")
+ (yeetube-mpv-send-keypress "f")
(message "toggle fullscreen"))
(defun yeetube-mpv-toggle-video ()
"Toggle video mpv."
(interactive)
- (yeetube-send-keypress "_")
+ (yeetube-mpv-send-keypress "_")
(message "yeetube: toggle video"))