Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- cd \Users\worldjem\
- :start
- title Livestreamer
- Echo Welcome to the Livestreamer Batch File!
- echo Would you like to Watch (1) or Record (2)?
- echo.
- set /p choice= Choice (1/2):
- echo.
- if %choice%==1 goto watch
- if %choice%==2 goto record
- :watch
- echo Type the URL of what you want to watch.
- echo Ex.: twitch.tv/123fakestreet or youtube.com/watch?v=[videoID]
- echo.
- set /p watch= Enter URL:
- title %watch%
- echo.
- echo Would you like to watch/record something else?
- set /p watch2= Choice (y/n):
- echo.
- if %watch2%==y goto watch2
- if %watch2%==n goto watch3
- echo.
- Goto start
- :watch2
- start \users\user\desktop\livestreamer.bat
- goto watch3
- :watch3
- livestreamer %watch% best
- echo.
- goto start
- :record
- echo Type the URL of what you want to record.
- echo Ex.: twitch.tv/123fakestreet or youtube.com/watch?v=[videoID]
- echo.
- set /p record= Enter URL:
- title Recording %record%
- echo.
- echo File will be saved as .mp4
- set /p file= Enter the file name:
- echo.
- echo Would you like to do something else while this records?
- set /p watch3= Choice (y/n):
- echo.
- if %watch3%==y goto newwatch
- if %watch3%==n goto record2
- :newwatch
- start \users\user\desktop\livestreamer.bat
- goto record2
- :record2
- echo Now recording. Hit CTRL+C to end the recording.
- echo If it asks to terminate the batch job
- echo hit N to end the recording and continue to use this batch file
- echo or hit Y if you want to close this window.
- echo.
- livestreamer %record% best -o \users\worldjem\videos\livestreamer\%file%.mp4
- echo.
- echo Recording has ended. Returning to start.
- echo.
- goto start
Add Comment
Please, Sign In to add comment