From 454e77d8776d9fb8c00eb6d7f3cdc5e8b9c2ecd0 Mon Sep 17 00:00:00 2001 From: Florestan Bredow Date: Tue, 16 Aug 2022 22:52:40 +0200 Subject: [PATCH] Change for yt-dlp --- .config/fish/functions/yt-360.fish | 4 ++-- .config/fish/functions/yt-480.fish | 4 ++-- .config/fish/functions/yt-audio.fish | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.config/fish/functions/yt-360.fish b/.config/fish/functions/yt-360.fish index 29ada35..bad1f40 100644 --- a/.config/fish/functions/yt-360.fish +++ b/.config/fish/functions/yt-360.fish @@ -1,4 +1,4 @@ # Defined in - @ line 1 -function yt-360 --description alias\ yt-360\ youtube-dl\ -f\ \'bestvideo\[height\<=360\]+bestaudio/best\[height\<=360\]\' - youtube-dl -f 'bestvideo[height<=360]+bestaudio/best[height<=360]' $argv; +function yt-360 + yt-dlp -f 'bestvideo[height<=360]+bestaudio/best' $argv; end diff --git a/.config/fish/functions/yt-480.fish b/.config/fish/functions/yt-480.fish index 1eb0f73..8ed7ffe 100644 --- a/.config/fish/functions/yt-480.fish +++ b/.config/fish/functions/yt-480.fish @@ -1,4 +1,4 @@ # Defined in - @ line 1 -function yt-480 --description alias\ yt-480\ youtube-dl\ -f\ \'bestvideo\[height\<=480\]+bestaudio/best\[height\<=480\]\' - youtube-dl -f 'bestvideo[height<=480]+bestaudio/best[height<=480]' $argv; +function yt-480 + yt-dlp -f 'bestvideo[height<=480]+bestaudio/best' $argv; end diff --git a/.config/fish/functions/yt-audio.fish b/.config/fish/functions/yt-audio.fish index 34b3ec1..cf27371 100644 --- a/.config/fish/functions/yt-audio.fish +++ b/.config/fish/functions/yt-audio.fish @@ -1,4 +1,4 @@ # Defined in - @ line 1 -function yt-audio --description 'alias yt-audio youtube-dl -i --extract-audio --audio-format mp3' - youtube-dl -i --extract-audio --audio-format mp3 $argv; +function yt-audio + yt-dlp -i --extract-audio --audio-format mp3 $argv; end