metadata in other command as well

This commit is contained in:
Nox Sluijtman 2023-11-07 02:05:28 +01:00
parent 85ceda15e6
commit e6854ffe35

2
arbit
View file

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