diff options
author | Thanos Apollo <[email protected]> | 2024-02-25 04:58:16 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-25 04:58:16 +0200 |
commit | ba3f0987d4af95c53925a4746a6379df66ec3e54 (patch) | |
tree | fedc12c768e9429929242838ea895797e4a71208 | |
parent | 7ffab51fe194aa5962884cf2d935454736bd4cda (diff) |
yeetube-get-content: If not yeetube-display-thumbnails return "nil"
-rw-r--r-- | yeetube.el | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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) |