From e5eff223aee1f17ae09f1f51e6c52bafc4603491 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Sat, 7 Nov 2020 15:29:32 -0500 Subject: [PATCH] Re-order yt args --- home/lib/login_functions.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index 6e8242d..2b985e6 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -239,8 +239,8 @@ howto() { _yt() { local -r base_dir="$1" - local -r opts="$2" - local -r uri="$3" + local -r uri="$2" + local -r opts="$3" local -r id=$(youtube-dlc --get-id "$uri") local -r title=$(youtube-dlc --get-title "$uri" | sed 's/[^A-Za-z0-9._-]/_/g') @@ -254,7 +254,7 @@ _yt() { yt_audio() { local -r uri="$1" - _yt "${DIR_YOUTUBE_AUDIO}/individual" '-f 140' "$uri" + _yt "${DIR_YOUTUBE_AUDIO}/individual" "$uri" '-f 140' } yt_video() { -- 2.20.1