summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-07-06 12:18:24 +0300
committerThanos Apollo <[email protected]>2023-07-06 12:18:24 +0300
commitb31c7154d79a14c358e053c4db9b089d52391731 (patch)
tree37a93e6f74a21224664e4a312f33ad3760cfd774
parent971a18d256f515742752b21dfbddfad74f7c90d1 (diff)
yeetube-insert-info: add warning if mpv is nil and update keys
-rw-r--r--yeetube.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/yeetube.el b/yeetube.el
index fbdfc38..de68449 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -303,17 +303,21 @@ then run this command interactively."
"\n\n** Info"
(format "\nDownload Directory: %s" yeetube-download-directory)
(format "\nDownload as audio format: %s" yeetube-download-audio-format)
- (format "\nYeetube Player: %s" yeetube-player))
+ (if yeetube-player
+ (format "\nYeetube Player: %s" yeetube-player)
+ (format "\nYeetube Player: mpv not found. /Set this value manually or install mpv/")))
(when yeetube-display-info-keys
(insert
"\n\n*** Keybindings"
"\n"
"\n~RET~ -> Play Video\n"
- "\n~d~ -> Download\n"
+ "\n~v~ -> Toggle Video on/off\n"
+ "\n~p~ -> Toggle Pause/Play\n"
"\n~C-c C-o~ -> Open In Browser\n"
- "\n~u~ -> Change search URL (youtube.com, any invidious instance or localhost)\n"
- "\n~C~ -> Change Download Directory\n"
+ "\n~d~ -> Download\n"
+ "\n~D~ -> Change Download Directory\n"
"\n~a~ -> Change Download (Audio) Format\n"
+ "\n~u~ -> Change search URL (youtube.com, any invidious instance or localhost)\n"
"\n~q~ -> Quit\n")))
(defun yeetube-change-download-directory ()