Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO Off
- IF NOT EXIST "%PROGRAMFILES(X86)%" ( GOTO main32
- ) ELSE ( GOTO main
- )
- :main32
- ECHO Livestreamer Batch script
- ECHO Input the url of the streamer.
- ECHO Example:own3d.tv/SaintVicious or twitch.tv/wingsofdeath
- Set /p Input=Go:
- ECHO It will show the quality possibilities of streaming.
- timeout /T 2 > NUL
- "%PROGRAMFILES%\Livestreamer\livestreamer.exe" %Input% 2> tmp.txt
- find /c /i "error" tmp.txt > NUL
- IF %ERRORLEVEL% EQU 1 ( goto start32
- ) ELSE (
- goto main322
- )
- :main322
- del tmp.txt
- ECHO _______________________________
- ECHO Wrong input or streamer is offline
- ECHO _______________________________
- ECHO Input the url of the streamer.
- ECHO Example:own3d.tv/SaintVicious or twitch.tv/wingsofdeath
- Set /p Input=Go:
- ECHO It will show the quality possibilities of streaming.
- timeout /T 2 > NUL
- "%PROGRAMFILES%\Livestreamer\livestreamer.exe" %Input% 2> tmp.txt
- find /c /i "error" tmp.txt > NUL
- IF %ERRORLEVEL% EQU 1 ( goto start32
- ) ELSE (
- goto main322
- )
- :start32
- del tmp.txt
- set /p quality=Now write the quality you want to watch in:
- "C:\Program Files\Livestreamer\livestreamer.exe" %Input% %quality% > nul
- :main
- ECHO Livestreamer Batch script
- ECHO Input the url of the streamer.
- ECHO Example:own3d.tv/SaintVicious or twitch.tv/wingsofdeath
- Set /p Input=Go:
- ECHO It will show the quality possibilities of streaming.
- timeout /T 2 > NUL
- "%PROGRAMFILES(X86)%\Livestreamer\livestreamer.exe" %Input% 2> tmp.txt
- find /c /i "error" tmp.txt > NUL
- IF %ERRORLEVEL% EQU 1 ( goto start
- ) ELSE (
- goto main2
- )
- :main2
- del tmp.txt
- ECHO _______________________________
- ECHO Wrong input or streamer is offline
- ECHO _______________________________
- ECHO Input the url of the streamer.
- ECHO Example:own3d.tv/SaintVicious or twitch.tv/wingsofdeath
- Set /p Input=Go:
- ECHO It will show the quality possibilities of streaming.
- timeout /T 2 > NUL
- "%PROGRAMFILES(X86)%\Livestreamer\livestreamer.exe" %Input% 2> tmp.txt
- find /c /i "error" tmp.txt > NUL
- IF %ERRORLEVEL% EQU 1 ( goto start
- ) ELSE (
- goto main2
- )
- :start
- del tmp.txt
- set /p quality=Now write the quality you want to watch in:
- "C:\Program Files (x86)\Livestreamer\livestreamer.exe" %Input% %quality% > nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement