Des commandes pour utiliser youtube - retour accueil
git clone git://bebou.netlib.re/ytcli
Log | Files | Refs | README |
yt (345B)
1 #! /bin/sh 2 3 if [ "$1" = "c" ];then 4 echo "$2" | grep -Eq "nebula\.tv" && pass="-n" 5 format=$(yt-dlp "$pass" -F "$2" |sed '1,8 d' | fzy -m -q 18 | cut -d' ' -f1 | paste -s -d '+' -); video="$2"; 6 else 7 format="18"; video="$1"; 8 fi 9 mpv --hwdec=auto --ytdl-raw-options=netrc= --ytdl-format="$format" --cache-secs=45 --volume=50 "$video" 2>/dev/null 10