viewing paste Unknown #10871 | Winbatch

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13
@ECHO Off
:main32
Set /p Input=twitch.tv/
ECHO Available Qualities:
timeout /T 2 > NUL
"%PROGRAMFILES%\Livestreamer\livestreamer.exe" twitch.tv/%Input% 2> tmp.txt
find /c /i "error" tmp.txt > NUL
IF %ERRORLEVEL% EQU 1 ( goto start32 )
:start32
del tmp.txt
set /p quality=
"%PROGRAMFILES%\Livestreamer\livestreamer.exe" twitch.tv/%Input% %quality% > nul
 
Viewed 796 times, submitted by Guest.