Revert "metadata in other command as well"

This reverts commit e6854ffe35.
This commit is contained in:
Nox Sluijtman 2023-11-07 02:20:46 +01:00
parent 85d60470a7
commit f1eb737b06

2
arbit
View file

@ -68,7 +68,7 @@ viewUrl(){
download(){
url="$(echo "$*" | sed 's/download //')"
notify-send "Arbit" "Downloading video to ${downloadDir}"
if yt-dlp --embed-chapters --embed-metadata --embed-subs -o "${downloadDir}/%(title)s - %(uploader)s.%(ext)s" "${clipboardContent}"
if yt-dlp -o "${downloadDir}/%(title)s - %(uploader)s.%(ext)s" "${url}"
then notify-send "Arbit" "Finished downloading video."
else die "Failed to download file"
fi