From cf648fa57299458465f81de6dc7d6e464bbbb183 Mon Sep 17 00:00:00 2001 From: user1 Date: Tue, 31 Aug 2021 14:45:23 +0200 Subject: [PATCH] add hdmp4 --- youtube-vlc_windows.sh | 5 ++++- youtube.sh | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/youtube-vlc_windows.sh b/youtube-vlc_windows.sh index 9e71073..53ee29b 100644 --- a/youtube-vlc_windows.sh +++ b/youtube-vlc_windows.sh @@ -6,7 +6,7 @@ if [ "$1" == "--help" ] || [[ -z "$1" ]] then echo "bitte alles kleinschreiben" echo "bash ./youtube-dl.sh suche/search URL/stichwort FORMAT" - echo "Formate: [opus/m4a/video/hd/fullhd/fullhdmp4/4k/FORMAT]" + echo "Formate: [opus/m4a/video/hd/hdmp4/fullhd/fullhdmp4/4k/FORMAT]" exit 0 fi @@ -31,6 +31,9 @@ then elif [ "$format" == "hd" ] then format="-f 247+251" +elif [ "$format" == "hdmp4" ] +then + format="-f 22" elif [ "$format" == "fullhd" ] then format="-f 303+251" diff --git a/youtube.sh b/youtube.sh index 9e71073..53ee29b 100755 --- a/youtube.sh +++ b/youtube.sh @@ -6,7 +6,7 @@ if [ "$1" == "--help" ] || [[ -z "$1" ]] then echo "bitte alles kleinschreiben" echo "bash ./youtube-dl.sh suche/search URL/stichwort FORMAT" - echo "Formate: [opus/m4a/video/hd/fullhd/fullhdmp4/4k/FORMAT]" + echo "Formate: [opus/m4a/video/hd/hdmp4/fullhd/fullhdmp4/4k/FORMAT]" exit 0 fi @@ -31,6 +31,9 @@ then elif [ "$format" == "hd" ] then format="-f 247+251" +elif [ "$format" == "hdmp4" ] +then + format="-f 22" elif [ "$format" == "fullhd" ] then format="-f 303+251"