summaryrefslogtreecommitdiffstats
path: root/.local/bin/qndl
diff options
context:
space:
mode:
authorkrisdoodle45 <86745210+krisdoodle45@users.noreply.github.com>2022-03-29 03:28:41 +0200
committerGitHub <noreply@github.com>2022-03-29 01:28:41 +0000
commit953d85619a8637e64da5344e727f443046187c74 (patch)
tree010c814f43182309104104a29f7e87e0e5e84910 /.local/bin/qndl
parent4ba50116d9228496ebbb32bfa2bc0ef7c5fefc8e (diff)
downloadeibhear-953d85619a8637e64da5344e727f443046187c74.tar.gz
eibhear-953d85619a8637e64da5344e727f443046187c74.tar.zst
eibhear-953d85619a8637e64da5344e727f443046187c74.zip
Replace youtube-dl with yt-dlp system-wide (#1019)
* Replace youtube-dl with yt-dlp in qndl * Replace youtube-dl with yt-dlp in dmenuhandler * Replace youtube-dl with yt-dlp in newsboat config * Replace youtube-dl with yt-dlp in aliasrc Co-authored-by: Luke Smith <luke@lukesmith.xyz>
Diffstat (limited to '.local/bin/qndl')
-rwxr-xr-x.local/bin/qndl2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/qndl b/.local/bin/qndl
index f6fbe87..48bc61e 100755
--- a/.local/bin/qndl
+++ b/.local/bin/qndl
@@ -5,7 +5,7 @@
base="$(basename "$1")"
notify-send "⏳ Queuing $base..."
cmd="$2"
-[ -z "$cmd" ] && cmd="youtube-dl --add-metadata -ic"
+[ -z "$cmd" ] && cmd="yt-dlp --embed-metadata -ic"
idnum="$(tsp $cmd "$1")"
realname="$(echo "$base" | sed "s/?\(source\|dest\).*//;s/%20/ /g")"
tsp -D "$idnum" mv "$base" "$realname"