summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yeetube.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/yeetube.el b/yeetube.el
index 9da745f..38366f2 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -231,6 +231,9 @@ Example Usage:
(if yeetube-mpv-disable-video
(format "%s --no-video --input-ipc-server=%s %s" mpv socket url)
(format "%s --input-ipc-server= %s %s" mpv socket url))))))
+
+(defun yeetube-mpv-toggle-disable-video ()
+ "Disable/Enable video for mpv player."
(interactive)
(let ((socket (concat " --input-ipc-server=" yeetube-mpv-socket))
(no-video " --no-video")