Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo.
- Color F0
- :Start
- cls
- echo.
- echo **************************************************
- echo *****************League of Legends****************
- echo **** Twitch Livestream Channel Selection Tool ****
- echo ************** Created by DDRDiesel **************
- echo **************************************************
- echo.
- echo **************************************************
- echo ******************* DISCLAIMER *******************
- echo ***** Please make sure to have both VLC and ******
- echo ************* Livestreamer installed! ************
- echo **************************************************
- echo.
- echo What would you like to do?
- echo 1) Select a stream of my own choosing
- echo 2) Select from a set of preselected streams
- echo 3) Download VLC/Livestreamer
- echo 4) Exit
- set /p choice=
- if %choice% EQU 1 goto :Custom
- if %choice% EQU 2 goto :Preloaded
- if %choice% EQU 3 goto :Help
- if %choice% EQU 4 goto :ConfirmClose
- if %choice% NEQ 1 goto :Start
- if %choice% NEQ 2 goto :Start
- if %choice% NEQ 3 goto :Start
- if %choice% NEQ 4 goto :Start
- :Close
- exit
- :Help
- cls
- echo.
- echo What do you need to download?
- echo 1) VLC Player
- echo 2) LiveStreamer
- echo 3) I don't need to download anything, let's start over
- set /p Program=
- if %Program% EQU 1 goto :DownloadVLC
- if %Program% EQU 2 goto :DownloadLiveStreamer
- if %Program% EQU 3 goto :Start
- if %Program% NEQ 1 goto :Help
- if %Program% NEQ 2 goto :Help
- if %Program% NEQ 3 goto :Help
- :DownloadVLC
- cls
- echo You will be taken to a website where you can download and install VLC Player
- pause
- start http://www.videolan.org/vlc/index.html
- pause
- goto :Help
- :DownloadLiveStreamer
- cls
- echo You will be taken to a website where you can download and install the LiveStreamer service
- pause
- start http://docs.livestreamer.io/install.html
- pause
- goto :Help
- :Custom
- cls
- echo What stream would you like to tune in to?
- set /p channel=
- :Quality
- cls
- echo What quality would you like (Choose from mobile (worst), low, medium, high, or source (Best))?
- set /p quality=
- if /i %quality% EQU mobile goto :Chosen
- if /i %quality% EQU low goto :Chosen
- if /i %quality% EQU medium goto :Chosen
- if /i %quality% EQU high goto :Chosen
- if /i %quality% EQU source goto :Chosen
- if /i %quality% NEQ mobile goto :Quality
- if /i %quality% NEQ low goto :Quality
- if /i %quality% NEQ medium goto :Quality
- if /i %quality% NEQ high goto :Quality
- if /i %quality% NEQ source goto :Quality
- :Chosen
- cls
- livestreamer http://www.twitch.tv/%channel% %quality%
- goto :Choice
- :Preloaded
- cls
- echo Which channel would you like to watch?
- echo 1) Riot Games
- echo 2) Krepo
- echo 3) Sky
- echo 4) Salty Teemo
- echo 5) Nightblue
- set /p option=
- if %option% EQU 1 goto :1
- if %option% EQU 2 goto :2
- if %option% EQU 3 goto :3
- if %option% EQU 4 goto :4
- if %option% EQU 5 goto :5
- if %option% NEQ 1 goto :Preloaded
- if %option% NEQ 2 goto :Preloaded
- if %option% NEQ 3 goto :Preloaded
- if %option% NEQ 4 goto :Preloaded
- if %option% NEQ 5 goto :Preloaded
- :1
- livestreamer twitch.tv/riotgames source
- goto :Choice
- :2
- livestreamer twitch.tv/SkumbagKrepo source
- goto :Choice
- :3
- livestreamer twitch.tv/Sky_mp3 source
- goto :Choice
- :4
- livestreamer twitch.tv/SaltyTeemo source
- goto :Choice
- :5
- livestreamer twitch.tv/Nightblue3 source
- goto :Choice
- :Choice
- cls
- echo Would you like to start over and select another stream? (Y/N)
- set /p StartoverChoice=
- if /i %StartoverChoice% EQU Y goto :Start
- if /i %StartoverChoice% EQU N goto :ConfirmClose
- if /i %StartoverChoice% NEQ Y goto :Choice
- if /i %StartoverChoice% NEQ N goto :Choice
- :ConfirmClose
- cls
- echo Would you like to exit? (Y/N)
- set /p Confirm=
- if /i %Confirm% EQU Y goto :Close
- if /i %Confirm% EQU N goto :Choice
- if /i %Confirm% NEQ Y goto :ConfirmClose
- if /i %Confirm% NEQ N goto :ConfirmClose
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement