diff options
author | Thanos Apollo <[email protected]> | 2023-07-06 12:18:24 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-07-06 12:18:24 +0300 |
commit | b31c7154d79a14c358e053c4db9b089d52391731 (patch) | |
tree | 37a93e6f74a21224664e4a312f33ad3760cfd774 | |
parent | 971a18d256f515742752b21dfbddfad74f7c90d1 (diff) |
yeetube-insert-info: add warning if mpv is nil and update keys
-rw-r--r-- | yeetube.el | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 () |