Skip to content

Commit

Permalink
Improves yt-dlp aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Oct 21, 2024
1 parent 3f4e141 commit f9a8a42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .aliasesrc
Original file line number Diff line number Diff line change
Expand Up @@ -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:*]'"
Expand Down Expand Up @@ -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"'
Expand Down

0 comments on commit f9a8a42

Please sign in to comment.