aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-19 13:36:34 +0200
committerThanos Apollo <[email protected]>2024-01-19 13:36:34 +0200
commitb91ddbac4f76c42a1e4b37f6bd717a273bfa83b7 (patch)
tree54f1ba35b4c516b657ad625a5fabe7607d13edc9
parent0f032f864d5cb9a3bd31e87a086f4a3dcd239bf6 (diff)
Update docstrings & add comments
-rw-r--r--yeetube.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/yeetube.el b/yeetube.el
index a653174..bf2fdd0 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -232,8 +232,12 @@ WHERE indicates where in the buffer the update should happen."
(save-buffer)
(kill-buffer)))
+;; TODO: Find a way to display thumbnails in tabulated list
(cl-defun yeetube-get-thumbnails (content)
- "Download thumbnails for CONTENT using `wget'."
+ "Download thumbnails for CONTENT using `wget'.
+
+This is used to download thumbnails from `yeetube-content', within
+`yeetube-search'. We can't as of now use images with tabulated-list."
(interactive)
(let ((wget-exec (executable-find "wget"))
(default-directory temporary-file-directory))
@@ -261,7 +265,9 @@ WHERE indicates where in the buffer the update should happen."
(goto-char (point-min))
(toggle-enable-multibyte-characters)
(yeetube-get-content)
- (yeetube-get-thumbnails yeetube-content))
+ ;; (yeetube-get-thumbnails yeetube-content) ;; download thumbnails
+ ;; unfortunately can't use images them with tabulated list
+ )
(with-current-buffer
(switch-to-buffer (get-buffer-create (concat "*yeetube*")))
(yeetube-mode)))