commit 6f9b40de0aadea291340ffba473c1f013b2b96a6
parent e5f59c7dd35392939be58fe134cd38577d974f01
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 27 Sep 2019 15:20:04 +0200
Limit resolution for youtube-dl
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler
@@ -51,7 +51,7 @@ for url in "$@"; do
f="$(curl -s --write-out "%{filename_effective}\n" -OL "$url")"
nohup xdg-open "$f" >/dev/null 2>&1 & ;;
"youtube-dl")
- echo "youtube-dl '$url' >/dev/null" | at now;;
+ echo "youtube-dl -f 'best[height<=1080+bestaudio]' '$url' >/dev/null" | at now;;
"youtube-dl-music")
nohup $TERMINAL -e youtube-dl-music "$url" >/dev/null 2>&1 & ;;
*)