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>
This commit is contained in:
krisdoodle45andLuke Smith authored and GitHub committed 2022-03-29 01:28:41 +00:00
1 parent 4ba50116d9
commit 953d85619a
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -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"