summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yeetube.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/yeetube.el b/yeetube.el
index 9d8112b..baa3572 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -417,12 +417,14 @@ SUBSTRING-END is the end of the string to return, interger."
:channel channel
:thumbnail thumbnail
:date (replace-regexp-in-string "Streamed " "" date)
- :image (format "[[%s.jpg]]" (expand-file-name
+ :image (if yeetube-display-thumbnails
+ (format "[[%s.jpg]]" (expand-file-name
(replace-regexp-in-string
"\\(.*\\)\\(\\(.\\{10\\}\\)\\)$"
"\\2"
thumbnail)
- temporary-file-directory)))
+ temporary-file-directory))
+ "nil"))
yeetube-content))))))
(add-variable-watcher 'yeetube-saved-videos #'yeetube-update-saved-videos-list)