Giter Site home page Giter Site logo

snake4life / livestreamer-delay-restart-script Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danodemano/livestreamer-delay-restart-script

0.0 2.0 0.0 208 KB

Livestreamer Delay and Restart Script

License: MIT License

PowerShell 49.95% Shell 50.05%

livestreamer-delay-restart-script's Introduction

Livestreamer Delay and Restart Script

THIS SCRIPT DEPENDS ON LIVESTREAMER WHICH CAN BE OBTAINED FROM HERE: http://livestreamer.readthedocs.org/en/latest/install.html

This simple script can be used to schedule a stream recording and will also automatically restart it on failure. The user-controlled variables are documented near the top of the script and will need to be edited with start date, stream URL, etc.

##Windows Version

BY DEFAULT WINDOWS WILL NOT LET YOU EXECUTE THE DOWNLOADED SCRIPT! Please copy the contents and paste into a new file saving it as "ls_delay_restart.ps1" in a location convenient for you. Make sure you edit the variables at the top with stream URL, time, etc. Once saved right-click on the file and choose "Run with PowerShell" to execute. You will see an output telling you how long it's going to sleep. Once this time has been reached it will start recording the stream and restart if interrupted.

##Linux Version

Once you have filled in the variables from a terminal simply execute ./ls_delay_restart.sh and you will see an output of sleeping for x seconds. Once this time has been reached it will start recording the stream and restart if interrupted. Make sure you chmod +x the script before you attempt to execute it.

Any issues please let me know!

livestreamer-delay-restart-script's People

Contributors

danodemano avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.