made adding a video to a playlist also cache it
This commit is contained in:
parent
b83408a453
commit
d966cf1a45
1
yt
1
yt
@ -25,6 +25,7 @@ add() { # adds a video to a playlist file
|
|||||||
printf "%s: %s: %s: Video already in playlist.\n" "$argv0" "$2" "$1"
|
printf "%s: %s: %s: Video already in playlist.\n" "$argv0" "$2" "$1"
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
|
cache "$1"
|
||||||
archive "$1"
|
archive "$1"
|
||||||
printf "%s\n" "$1" >> "$2"
|
printf "%s\n" "$1" >> "$2"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user