Skip to content

🔁Continuously monitor a channel and record when it goes live

Notifications You must be signed in to change notification settings

kpg-anon/streamloop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Streamloop is a cli tool that uses streamlink to actively monitor and record a channel when it goes live.

📦 Requirements 🛠️

📡 Supported sites 🌎

  • twitch
  • afreecatv
  • kick coming soon™
  • chzzk coming soon™
  • youtube coming soon™

🌐 Installation 🗃

  1. Download the script and make it executable:

posix

wget https://github.com/kpg-anon/streamloop/raw/main/streamloop.sh && chmod +x streamloop.sh

python (requires argparse)

wget https://github.com/kpg-anon/streamloop/raw/main/streamloop.py && chmod +x streamloop.py
pip install argparse
  1. Modify your output directory:
OUTPUT_BASE_PATH=~/path/to/STREAMS
  1. Set your streamlink options:
STREAMLINK_OPTIONS_TWITCH='--twitch-proxy-playlist=https://eu2.luminous.dev --twitch-disable-ads'
STREAMLINK_OPTIONS_AFREECATV='--stream-segment-timeout 90'

🧑‍💻 Usage 💻

Usage: ./streamloop.sh -p <platform> -u <username> [-q <quality>] [-r <retry>]
 -p  Platform (twitch or afreecatv)
 -u  Username on the platform
 -q  Quality of the stream (default: best)
 -r  Retry interval in seconds (default: 180)

📖 Additional Resources 💡

Currently the script is preconfigured to work with the custom streamlink-ttvlol Twitch extractor. You'll want to install that in order to block ads from your Twitch recordings.

📝 TODO ✅

  • create python version
  • add support for kick, chzzk and youtube

About

🔁Continuously monitor a channel and record when it goes live

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published