Skip to content

Commit

Permalink
Changed version number
Browse files Browse the repository at this point in the history
From v2.9 to v2.9.1
  • Loading branch information
mrblomblo authored Jul 30, 2024
1 parent e1765bd commit 60c4501
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions run.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand All @@ -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.
Expand Down Expand Up @@ -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"
Expand All @@ -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): "
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 60c4501

Please sign in to comment.