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