fix
This commit is contained in:
parent
245ac94a42
commit
2ccd588ca7
4 changed files with 6 additions and 2 deletions
0
openvpn-install.sh
Normal file → Executable file
0
openvpn-install.sh
Normal file → Executable file
0
x11vnc.desktop
Normal file → Executable file
0
x11vnc.desktop
Normal file → Executable file
0
x11vnc.service
Normal file → Executable file
0
x11vnc.service
Normal file → Executable file
|
@ -15,7 +15,7 @@ format="$3"
|
||||||
|
|
||||||
#read -p "Wie ist die URL? : " url
|
#read -p "Wie ist die URL? : " url
|
||||||
#read -p "Wo sollen die Dateien heruntergeladen werden? : " pfad
|
#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" ]
|
if [ "$format" == "opus" ]
|
||||||
then
|
then
|
||||||
|
@ -26,11 +26,15 @@ then
|
||||||
elif [ "$format" == "video" ]
|
elif [ "$format" == "video" ]
|
||||||
then
|
then
|
||||||
format="-f 43"
|
format="-f 43"
|
||||||
elif [ "$format" == "4k" ]
|
elif [ "$format" == "fullhd" ]
|
||||||
then
|
then
|
||||||
format="-f 303+251"
|
format="-f 303+251"
|
||||||
|
elif [ "$format" == "4k" ]
|
||||||
|
then
|
||||||
|
format="-f 315+251"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
mkdir -p $pfad
|
mkdir -p $pfad
|
||||||
|
|
||||||
cd $pfad
|
cd $pfad
|
||||||
|
|
Loading…
Reference in a new issue