summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-06-30 04:36:53 +0300
committerThanos Apollo <[email protected]>2023-06-30 04:36:53 +0300
commit12343f095057f7f79fbcf586a42d39e160db31be (patch)
treed51ba043d13781c58bbcdf7ed6a56ba15a361002
parent05dae71762fae2d63d3f6db352d07b8563990e19 (diff)
Add custom to downlaod only as a specific audio format
-rw-r--r--org-yt.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/org-yt.el b/org-yt.el
index 6db46a0..e605861 100644
--- a/org-yt.el
+++ b/org-yt.el
@@ -24,6 +24,16 @@
;;; Code:
+(defcustom yt-download-audio-format nil
+ "Select download video as audio FORMAT.
+If nil yt-download-videos output will be the default format.
+
+Example Usage:
+ (setq yt-download-audio-format \"m4a\")"
+ :type 'string
+ :group 'youtube)
+
+
;; TODO: play a video link using a video player from an org-mode read only buffer