Files
youtube-dl/bin/ytda
T

9 lines
329 B
Bash
Raw Normal View History

2022-10-07 15:56:48 -04:00
#!/usr/bin/env sh
2022-10-11 16:09:09 -04:00
# Set bash options
[ -n "$DEBUG" ] && set -x
set -o pipefail
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2022-10-07 16:20:45 -04:00
youtube-dl -f bestaudio --extract-audio --audio-format mp3 --embed-thumbnail --add-metadata --audio-quality 320k --config-location "$HOME/.config/youtube-dl/music" "$@"
2022-10-07 15:56:48 -04:00
exit $?