Skip to content

Commit

Permalink
Update to v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tech-How authored Aug 6, 2023
1 parent d0482a1 commit 21717aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/Redistributables/Downloader.cmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:YTM Download Script
:Created by Tech How - https://github.com/Tech-How
:Version 1.1
:Version 1.2

:Uses third-party licenses
:yt-dlp - https://github.com/yt-dlp/yt-dlp
Expand Down Expand Up @@ -30,7 +30,7 @@ echo %currenttrack% > Track.txt
cd..
set currenttrack=%currenttrack: =%
set totaltracks=%totaltracks: =%
Redistributables\YouTube-DL\youtube-dl.exe "https://www.youtube.com/watch?v=%URL%" -o "%workingDir%\Cache\%temp%\%%(track)s;%%(artist)s;%%(album)s;" -x --audio-format mp3 --no-warnings --embed-metadata --no-check-certificate --audio-quality 0 --restrict-filenames --ffmpeg-location "%~dp0FFMPEG\bin\ffmpeg.exe" --postprocessor-args "-metadata track="%currenttrack%/%totaltracks%""
Redistributables\YouTube-DL\youtube-dl.exe "https://www.youtube.com/watch?v=%URL%" -o "%workingDir%\Cache\%temp%\%%(track)s;%%(artist)s;%%(album)s;" -x --audio-format mp3 --no-warnings --embed-metadata --no-check-certificate --audio-quality 0 --restrict-filenames --ffmpeg-location "%~dp0FFMPEG\bin\ffmpeg.exe" --postprocessor-args "-metadata track="%currenttrack%/%totaltracks%" -metadata disc="1/1""
for /f "tokens=* usebackq" %%f in (`dir /b /a-d "%workingDir%\Cache\%temp%"`) do set filename1=%%f

:Replace underscores with spaces and rename file
Expand Down
2 changes: 2 additions & 0 deletions build/Redistributables/Sleep.vbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ms = WScript.Arguments(0)
WScript.Sleep ms

0 comments on commit 21717aa

Please sign in to comment.