what's wrong with my bash alias function? I am trying to download end re-encode videos but it skips the compression part entirely
xdl-c() {
local url="$1"
local bitrate="${2:-1M}"
local enable_audio="${3:-true}"
local args="-b:v $bitrate"
if [ "$enable_audio" = false ]; then
args="$args -an"
fi
echo "$args"
yt-dlp \
--ppa "$args" \
Comment too long. Click here to view the full text.