metadata in other command as well
This commit is contained in:
parent
85ceda15e6
commit
e6854ffe35
2
arbit
2
arbit
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue