Skip to content

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