diff --git a/run.bat b/run.bat index 653d047..56c5d00 100644 --- a/run.bat +++ b/run.bat @@ -2,7 +2,7 @@ setlocal enabledelayedexpansion REM Start of dependency check -title v2.9: Dependency check +title v2.9.1 : Dependency check REM Checks if necesssary folders exist and creates them if they don't exist for %%d in (EXE Downloads Downloads\Audio Downloads\Video Downloads\Music) do ( @@ -46,7 +46,7 @@ for /f "usebackq tokens=1,* delims=:" %%A in ("%~dp0EXE\VARS.txt") do ( :s -title v2.9: Enter URL to Download +title v2.9.1 : Enter URL to Download REM User input for URL @@ -77,7 +77,7 @@ if NOT "%URL:~0,4%"=="http" if NOT "%URL:~0,5%"=="https" ( cls -title v2.9: Enter File Format +title v2.9.1 : Enter File Format :a @@ -100,7 +100,7 @@ if "%reschooser%"=="yes" if "%format%"=="v" ( REM Resolution selection screen :s2 cls - title v2.9: Resolution selection + title v2.9.1 : Resolution selection echo Select which resolution you wish to download. echo It will fail if the selected resolution isn't available. @@ -184,38 +184,38 @@ if NOT "%format%"=="a" OR "%format%"=="v" OR "%format%"=="m" ( cls :8k -title v2.9: Downloading... +title v2.9.1 : Downloading... if "%format%"=="v" "%~dp0EXE\yt-dlp.exe" -P "%~dp0Downloads\Video" %vargs% -f "bestvideo[height=4320]+bestaudio" --merge-output-format mp4 -S vcodec:"%vcodec%" -S acodec:"%acodec%" --embed-metadata --embed-thumbnail -o "%%(title)s.%%(ext)s" -w "%URL%" && @echo %date%: Video - "%URL%">>"%~dp0log.txt" goto l :4k -title v2.9: Downloading... +title v2.9.1 : Downloading... if "%format%"=="v" "%~dp0EXE\yt-dlp.exe" -P "%~dp0Downloads\Video" %vargs% -f "bestvideo[height=2160]+bestaudio" --merge-output-format mp4 -S vcodec:"%vcodec%" -S acodec:"%acodec%" --embed-metadata --embed-thumbnail -o "%%(title)s.%%(ext)s" -w "%URL%" && @echo %date%: Video - "%URL%">>"%~dp0log.txt" goto l :1440 -title v2.9: Downloading... +title v2.9.1 : Downloading... if "%format%"=="v" "%~dp0EXE\yt-dlp.exe" -P "%~dp0Downloads\Video" %vargs% -f "bestvideo[height=1440]+bestaudio" --merge-output-format mp4 -S vcodec:"%vcodec%" -S acodec:"%acodec%" --embed-metadata --embed-thumbnail -o "%%(title)s.%%(ext)s" -w "%URL%" && @echo %date%: Video - "%URL%">>"%~dp0log.txt" goto l :1080 -title v2.9: Downloading... +title v2.9.1 : Downloading... if "%format%"=="v" "%~dp0EXE\yt-dlp.exe" -P "%~dp0Downloads\Video" %vargs% -f "bestvideo[height=1080]+bestaudio" --merge-output-format mp4 -S vcodec:"%vcodec%" -S acodec:"%acodec%" --embed-metadata --embed-thumbnail -o "%%(title)s.%%(ext)s" -w "%URL%" && @echo %date%: Video - "%URL%">>"%~dp0log.txt" goto l :720 -title v2.9: Downloading... +title v2.9.1 : Downloading... if "%format%"=="v" "%~dp0EXE\yt-dlp.exe" -P "%~dp0Downloads\Video" %vargs% -f "bestvideo[height=720]+bestaudio" --merge-output-format mp4 -S vcodec:"%vcodec%" -S acodec:"%acodec%" --embed-metadata --embed-thumbnail -o "%%(title)s.%%(ext)s" -w "%URL%" && @echo %date%: Video - "%URL%">>"%~dp0log.txt" goto l :480 -title v2.9: Downloading... +title v2.9.1 : Downloading... if "%format%"=="v" "%~dp0EXE\yt-dlp.exe" -P "%~dp0Downloads\Video" %vargs% -f "bestvideo[height=480]+bestaudio" --merge-output-format mp4 -S vcodec:"%vcodec%" -S acodec:"%acodec%" --embed-metadata --embed-thumbnail -o "%%(title)s.%%(ext)s" -w "%URL%" && @echo %date%: Video - "%URL%">>"%~dp0log.txt" goto l cls :d -title v2.9: Downloading... +title v2.9.1 : Downloading... REM Downloads from the URL input with the file format that the user selected if "%format%"=="a" "%~dp0EXE\yt-dlp.exe" -P "%~dp0Downloads\Audio" %aargs% -f "ba/b" -x --audio-format "mp3" -S acodec:"%acodec%" --embed-metadata --embed-thumbnail -o "%%(title)s.%%(ext)s" -w "%URL%" && @echo %date%: Audio - "%URL%">>"%~dp0log.txt" @@ -227,7 +227,7 @@ goto l cls -title v2.9: Download more? +title v2.9.1 : Download more? REM User input for if they want to download more set /p "more=Do you want to download more? Yes (y) or No (n): " @@ -264,7 +264,7 @@ if NOT "%more%"=="y" OR if NOT "%more%"=="n" ( :e REM Part of the script that the dependency check skips to -title v2.9: Dependency check +title v2.9.1 : Dependency check pause cls