From 12343f095057f7f79fbcf586a42d39e160db31be Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 30 Jun 2023 04:36:53 +0300 Subject: Add custom to downlaod only as a specific audio format --- org-yt.el | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.3