From eeaa1d8b5597b62fe4b280c9b9a07ddefb3fd98a Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Thu, 8 Sep 2022 12:06:19 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD=D0=B8?= =?UTF-8?q?=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D1=8B=D0=B5=20=D0=BA=D0=BE=D0=BC?= =?UTF-8?q?=D0=B0=D0=BD=D0=B4=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 75-aliases.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/75-aliases.zsh b/75-aliases.zsh index 1124271..03c2c31 100644 --- a/75-aliases.zsh +++ b/75-aliases.zsh @@ -31,6 +31,7 @@ YDL="$HOME/bin/youtube-dl" [ ! -x "$YDL" ] && YDL="$(which youtube-dl)" if [ -x "$YDL" ]; then alias ydlbest="youtube-dl --merge-output-format mkv -f 'bestvideo+bestaudio'" + alias ydlaudio="youtube-dl -f bestaudio" alias ydl="youtube-dl --merge-output-format mkv" fi @@ -59,3 +60,4 @@ alias -g X0='| xargs -0' alias -g XS='| sort | xargs' alias -g XS0='| sort -z | xargs -0' +audio-join() ffmpeg -i "concat:${(j:|:)@[2,-1]}" -acodec copy $1