From 2ccd588ca76e81a42e35800ceb9be362550bc312 Mon Sep 17 00:00:00 2001 From: simono41 Date: Sat, 16 Sep 2017 02:05:17 +0200 Subject: [PATCH] fix --- openvpn-install.sh | 0 x11vnc.desktop | 0 x11vnc.service | 0 youtube-dl.sh | 8 ++++++-- 4 files changed, 6 insertions(+), 2 deletions(-) mode change 100644 => 100755 openvpn-install.sh mode change 100644 => 100755 x11vnc.desktop mode change 100644 => 100755 x11vnc.service diff --git a/openvpn-install.sh b/openvpn-install.sh old mode 100644 new mode 100755 diff --git a/x11vnc.desktop b/x11vnc.desktop old mode 100644 new mode 100755 diff --git a/x11vnc.service b/x11vnc.service old mode 100644 new mode 100755 diff --git a/youtube-dl.sh b/youtube-dl.sh index 9073140..35e4c70 100755 --- a/youtube-dl.sh +++ b/youtube-dl.sh @@ -15,7 +15,7 @@ format="$3" #read -p "Wie ist die URL? : " url #read -p "Wo sollen die Dateien heruntergeladen werden? : " pfad -#read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/4k] : " format +#read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/fullhd/4k] : " format if [ "$format" == "opus" ] then @@ -26,11 +26,15 @@ then elif [ "$format" == "video" ] then format="-f 43" -elif [ "$format" == "4k" ] +elif [ "$format" == "fullhd" ] then format="-f 303+251" +elif [ "$format" == "4k" ] +then + format="-f 315+251" fi + mkdir -p $pfad cd $pfad