Church_AutoStream/main.py

12 lines
312 B
Python
Raw Normal View History

#! /usr/bin/python3
from streamer import Streamer
import argparse
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("config", help="Path to config.ini file", default="config.ini")
args = parser.parse_args()
streamer = Streamer(args.config)
streamer.stream()