From e6854ffe35ee6422dc26f5dc46836987cdbd0ebc Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Tue, 7 Nov 2023 02:05:28 +0100 Subject: [PATCH] metadata in other command as well --- arbit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arbit b/arbit index d976c75..1508d31 100755 --- a/arbit +++ b/arbit @@ -63,7 +63,7 @@ viewUrl(){ download(){ url="$(echo "$*" | sed 's/download //')" 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." else die "Failed to download file" fi