diff options
author | Thanos Apollo <[email protected]> | 2024-03-03 21:14:21 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-03-03 21:14:21 +0200 |
commit | 5df5ad659a7cf53eccd57c9568b8865167e121fc (patch) | |
tree | b2acb63f5a9348a4870034e63c4ef6b05d6e683d | |
parent | a3c7a9174ab7521acbe42784aa34edd994d48cd2 (diff) |
[fix] Refactor defcustom yeetube-download-audio-format
- Fix customize interface warning
- Specify audio formats
This change was suggested by Phil Hudson <[email protected]>
-rw-r--r-- | yeetube.el | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -62,12 +62,16 @@ :group 'yeetube) (defcustom yeetube-download-audio-format nil - "Select download video as audio FORMAT. -If nil download output will be the default format. - -Example Usage: - (setf yeetube-download-audio-format \"m4a\")" - :type 'string + "Specify the preferred audio FORMAT for audio only downloads." + :type '(choice (const :tag "Default" nil) + (const :tag "AAC" "aac") + (const :tag "ALAC" "alac") + (const :tag "FLAC" "flac") + (const :tag "M4A" "m4a") + (const :tag "MP3" "mp3") + (const :tag "OPUS" "opus") + (const :tag "Vorbis" "vorbis") + (const :tag "WAV" "wav")) :group 'yeetube) (defcustom yeetube-download-directory "~/Downloads" |