From 850d0df04f97b1c4ff6edf82365a3c22aac97424 Mon Sep 17 00:00:00 2001 From: "Mr. Mendelli" <47702158+MrMendelli@users.noreply.github.com> Date: Thu, 17 Oct 2024 23:10:11 -0600 Subject: [PATCH] Moderate Update * Fixed critical audio download bug --- changelog.md | 6 ++++++ src/yt-dlp CLI.bat | 13 +++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/changelog.md b/changelog.md index 94178d8..9221140 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,9 @@ +## 10/17/2024 +### Moderate Update +```diff +* Fixed critical audio download bug +``` + ## 10/15/2024 ### Major Update ```diff diff --git a/src/yt-dlp CLI.bat b/src/yt-dlp CLI.bat index 0d281b4..6a2af06 100644 --- a/src/yt-dlp CLI.bat +++ b/src/yt-dlp CLI.bat @@ -308,14 +308,15 @@ if %MediaFormat% equ "opus" goto :Lossy if %MediaFormat% equ "vorbis" goto :Lossy if %MediaFormat% equ "wav" goto :Lossless -:Lossy -%ytdlp% --ffmpeg-location=%ffmpeg% --cookies "cookies.txt" %URL% -x --add-metadata --audio-format %MediaFormat% --audio-quality %AudioQuality% -o "%userprofile%\Music\yt-dlp\%DownloadType%" -if %errorlevel% equ 0 (echo. & echo Download completed. & pause & start "" explorer "%userprofile%\Music\yt-dlp" & ren "%userprofile%\Music\yt-dlp\*.vorbis" "*.ogg" > nul) else (echo. & pause) -goto :MainMenu - :Lossless %ytdlp% --ffmpeg-location=%ffmpeg% --cookies "cookies.txt" %URL% -x --add-metadata --audio-format %MediaFormat% -o "%userprofile%\Music\yt-dlp\%DownloadType%" -if %errorlevel% equ 0 (echo. & echo Download completed. & pause & start "" explorer "%userprofile%\Music\yt-dlp" > nul) else (echo. & pause) +if %errorlevel% equ 0 (echo. & echo Download completed. & pause & start "" explorer "%userprofile%\Music\yt-dlp") else (echo. & pause) +goto :MainMenu + +:Lossy +%ytdlp% --ffmpeg-location=%ffmpeg% --cookies "cookies.txt" %URL% -x --add-metadata --audio-format %MediaFormat% --audio-quality %AudioQuality% -o "%userprofile%\Music\yt-dlp\%DownloadType%" +ren "%userprofile%\Music\yt-dlp\*.vorbis" "*.ogg" +if %errorlevel% equ 0 (echo. & echo Download completed. & pause & start "" explorer "%userprofile%\Music\yt-dlp") else (echo. & pause) goto :MainMenu :DownloadIcon