diff --git a/.aliasesrc b/.aliasesrc index 5a49191..7bdc868 100644 --- a/.aliasesrc +++ b/.aliasesrc @@ -284,7 +284,6 @@ alias git-pull-root='find $(git rev-parse --show-toplevel 2> /dev/null) -name .g # Docker alias docker-run-ptrace="docker run --cap-add SYS_PTRACE" alias mysql-docker-start="docker run --name=mysql -p3306:3306 --rm -v $HOME/.cache/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-root} mysql/mysql-server" -alias yt-dlp-all='yt-dlp -vci -R5 -f mp4,webm --retry-sleep 1 --write-description --write-info-json --all-subs --convert-subs srt --sleep-subtitles 10 --sub-format txt --write-auto-subs --write-subs --write-thumbnail --add-metadata --get-comments' # ImageMagick alias identify-exif="identify -format '%[EXIF:*]'" @@ -370,8 +369,9 @@ alias jenkins-lint="ssh jenkins-cli declarative-linter < ./Jenkinsfile" # # youtube-dl/yt-dlp (if available) -alias youtube-dl='youtube-dl -vci -R5 -f "(webm,mp4)" --write-description --write-info-json --all-subs --write-thumbnail --add-metadata' -alias yt-dlp='yt-dlp -vci -R5 -f "(webm,mp4)" --write-description --write-info-json --all-subs --write-thumbnail --add-metadata' +alias youtube-dl='youtube-dl -vci -R5 -f "bv+ba" --write-description --write-info-json --all-subs --write-thumbnail --add-metadata' +alias yt-dlp='yt-dlp -vci -R5 -f "bv+ba" --write-description --write-info-json --all-subs --write-thumbnail --add-metadata' +alias yt-dlp-all='yt-dlp -vci -R5 -f "bv+ba" --retry-sleep 1 --write-description --write-info-json --all-subs --convert-subs srt --sleep-subtitles 10 --sub-format txt --write-auto-subs --write-subs --write-thumbnail --add-metadata --get-comments' ## Misc alias randomize='fold -w1 | shuf | tr -d "\n"'