KaraokeVideoDownloader/download_karaoke.bat

34 lines
885 B
Batchfile

@echo off
REM Karaoke Playlist Downloader - Windows Batch File
REM This file makes it easy to run the karaoke downloader on Windows
echo.
echo ========================================
echo Karaoke Playlist Downloader
echo ========================================
echo.
REM Check if Python is available
python --version >nul 2>&1
if errorlevel 1 (
echo ERROR: Python is not installed or not in PATH
echo Please install Python 3.7+ from https://python.org
pause
exit /b 1
)
REM Check if yt-dlp.exe exists
if not exist "downloader\yt-dlp.exe" (
echo ERROR: yt-dlp.exe not found in downloader\ directory
echo Please ensure yt-dlp.exe is present in the downloader\ folder
pause
exit /b 1
)
REM Run the downloader with all arguments passed through
python download_karaoke.py %*
REM Pause to show results
echo.
echo Press any key to exit...
pause >nul