TwitchDownloader/dockerstart.bat
MaddoScientisto ec44981a9d
All checks were successful
Publish Twitch Archive Container / publish (push) Successful in 7m36s
Add NVIDIA support for FFmpeg in Docker and enhance chat rendering functionality
- Introduced a new docker-compose.nvidia.yml for NVIDIA GPU support.
- Updated dockerstart.bat to allow optional NVIDIA runtime.
- Enhanced ContentDownloader to manage chat rendering status and font settings.
- Improved hardware acceleration detection in utils.py.
- Added tests for hardware acceleration and chat rendering behavior.

Co-authored-by: Copilot <copilot@github.com>
2026-04-25 12:28:59 +02:00

27 lines
No EOL
577 B
Batchfile

@echo off
setlocal
set NVIDIA_COMPOSE=
if /I "%~1"=="--nvidia" (
set NVIDIA_COMPOSE=-f docker-compose.nvidia.yml
shift
)
if "%~1"=="" (
echo Usage: .\dockerstart.bat [--nvidia] streamer [additional args]
exit /b 1
)
set STREAMER=%~1
shift
set EXTRA_ARGS=
:collect_args
if "%~1"=="" goto run_compose
set EXTRA_ARGS=%EXTRA_ARGS% %~1
shift
goto collect_args
:run_compose
docker compose --env-file .env.development -f docker-compose.yml -f docker-compose.override.yml %NVIDIA_COMPOSE% run --rm twitch-archive python twitch-archive.py -u %STREAMER%%EXTRA_ARGS%