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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user