home
/
code
/
khome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a946b9f
)
Re-order yt args
author
Siraaj Khandkar
<siraaj@khandkar.net>
Sat, 7 Nov 2020 20:29:32 +0000
(15:29 -0500)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Sat, 7 Nov 2020 20:29:32 +0000
(15:29 -0500)
home/lib/login_functions.sh
patch
|
blob
|
blame
|
history
diff --git
a/home/lib/login_functions.sh
b/home/lib/login_functions.sh
index
6e8242d
..
2b985e6
100644
(file)
--- 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() {
This page took
0.020614 seconds
and
4
git commands to generate.