commit 4791a1fd67ae420bd48b83d44edd78f8bdcea71a parent e4819295bd923dbeb801b29801e404457e2bd315 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 16 Feb 2021 14:21:24 +0100 .profile: add format specification to ytdl Diffstat:
M | .profile | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.profile b/.profile @@ -20,7 +20,7 @@ alias c=clear alias r='fc -s' alias rr='_c="$(tail -2 $HISTFILE | head -1)" && echo "$_c" && doas sh -ec "$_c"' alias g=git -alias ytdl='youtube-dl --write-sub --write-auto-sub --sub-lang="en,da" --embed-subs --add-metadata' +alias ytdl='youtube-dl --write-sub --write-auto-sub --sub-lang="en,da" --embed-subs --add-metadata --format="bestvideo[height<=?1080][fps<=?30]+bestaudio/best[height<=?1080][fps<=?30]"' f() { $EDITOR "$(find "${1:-.}" -type f | fzy -l 25)"