diff options
author | Thanos Apollo <[email protected]> | 2024-02-26 17:29:19 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-26 17:29:19 +0200 |
commit | 0ffe19e98ea0e4aba3ce24df4972ba0af7911bca (patch) | |
tree | 1cfc9f2edc69d467fe3551caa4ada9e7a826993e | |
parent | d25614664da939f972a64f068d3a6d04e8861700 (diff) |
Update docstrings & disable thumbnails by default
Downloading images & using wget should be an opt-in feature.
-rw-r--r-- | yeetube.el | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -121,8 +121,12 @@ Valid options include: :type 'number :group 'yeetube) -(defcustom yeetube-display-thumbnails t - "asdf" +(defcustom yeetube-display-thumbnails nil + "When t, fetch & display thumbnails. + +Disabled by default, still an experimental feature that a user should +opt-in. Note that when enabled the thumbnail images will be downloaded +on `temporary-file-directory'." :type 'boolean :group 'yeetube) @@ -177,7 +181,9 @@ Valid options include: (defvar yeetube-url "https://youtube.com/watch?v=" "URL used to play videos from. -You can change the value to an invidious instance.") +You can change this value to an invidious instance. Although yeetube +will still query youtube, `yeetube-play' will use the above url to play +videos from.") (defun yeetube-get (keyword) "Retrieve KEYWORD value for entry at point. @@ -348,7 +354,6 @@ This is used to download thumbnails from `yeetube-content', within (toggle-enable-multibyte-characters) (yeetube-get-content)) (yeetube-get-thumbnails yeetube-content)) ;; download thumbnails - ;; unfortunately we can't use images them with tabulated list (with-current-buffer (pop-to-buffer-same-window "*yeetube*") (yeetube-mode))) @@ -419,7 +424,7 @@ SUBSTRING-END is the end of the string to return, interger." (format "[[%s.jpg]]" (expand-file-name videoid temporary-file-directory)) - "nil")) + "disabled")) yeetube-content)))))) (add-variable-watcher 'yeetube-saved-videos #'yeetube-update-saved-videos-list) |