diff options
author | Thanos Apollo <[email protected]> | 2024-02-09 11:28:16 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-09 18:38:46 +0200 |
commit | fbe5bd642c6a8d1cae3b7b37bfb96420a18fe5ff (patch) | |
tree | f0938ba38c9a832fe8764bb767a45fb40aaad546 /yeetube-mpv.el | |
parent | 5db25e807fb6fc67d40bdb3126487d442523e989 (diff) |
Add yeetube-mpv-change-video-quality
Diffstat (limited to 'yeetube-mpv.el')
-rw-r--r-- | yeetube-mpv.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/yeetube-mpv.el b/yeetube-mpv.el index 5b43ae1..2c925a4 100644 --- a/yeetube-mpv.el +++ b/yeetube-mpv.el @@ -45,6 +45,12 @@ Accepted values include: 1080, 720, 480, 360, 240, 144") +(defun yeetube-mpv-change-video-quality () + (interactive) + (let ((new-value (completing-read (format "Set video quality (current value %s):" yeetube-mpv-video-quality) + '("1080" "720" "480" "360" "240" "144") nil t))) + (setf yeetube-mpv-video-quality new-value))) + (defun yeetube-mpv-toggle-torsocks () "Toggle torsocks." (interactive) |