j4ggi

livestreamer_batch

Apr 29th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.63 KB | None | 0 0
  1. @echo off
  2. :START
  3. echo ###########################################################################
  4. powershell %APPDATA%\livestreamer\twitchstream.ps1
  5. set /p stream=enter twitch username:
  6. echo Choose stream quality
  7. echo 1. mobile
  8. echo 2. low
  9. echo 3. medium
  10. echo 4. high
  11. echo 5. source
  12. echo 6. audio
  13. choice /C:123456
  14.  
  15. if errorlevel==1 set streamquality=mobile
  16. if errorlevel==2 set streamquality=low
  17. if errorlevel==3 set streamquality=medium
  18. if errorlevel==4 set streamquality=high
  19. if errorlevel==5 set streamquality=source
  20. if errorlevel==6 set streamquality=audio
  21.  
  22. livestreamer twitch.tv/%stream% %streamquality%
  23. goto START
Add Comment
Please, Sign In to add comment