diff options
author | Yuchen Pei <id@ypei.org> | 2024-10-11 19:45:02 +1100 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2024-10-11 20:22:33 +1100 |
commit | b4068a7ad802f5a3b2bb014412e2f88ccf8384ea (patch) | |
tree | 93a309baf2ec5d532ca1e8953853a02bad468d54 /emacs/.emacs.d/lisp/my/my-ytdl.el | |
parent | cad78064b1cd76fc63b3c115a35e54dc6b91015c (diff) |
[emacs] [bash] Several improvements
* emacs/.emacs.d/lisp/my/my-media-segment.el: Add index to filename
formatting in `my-segment-media-file-1'
* emacs/.emacs.d/lisp/my/my-utils.el: Add .spc to audio extensions
* emacs/.emacs.d/lisp/my/my-ytdl.el: add command to download audio
without tor
* misc/.bashrc: pacman and systemd aliases; automate some arch aur
make process; add pdf merge / extract functions using ghostscript
Diffstat (limited to 'emacs/.emacs.d/lisp/my/my-ytdl.el')
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-ytdl.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-ytdl.el b/emacs/.emacs.d/lisp/my/my-ytdl.el index 721b299..9118493 100644 --- a/emacs/.emacs.d/lisp/my/my-ytdl.el +++ b/emacs/.emacs.d/lisp/my/my-ytdl.el @@ -87,6 +87,11 @@ (interactive "sURL(s): ") (my-ytdl-internal urls 'audio)) +(defun my-ytdl-audio-no-tor (urls) + "Download audio with ytdl." + (interactive "sURL(s): ") + (my-ytdl-internal urls 'audio t)) + ;;; fixme: autoload (defun my-ytdl-video-no-tor (urls) "Download videos with ytdl." |