YouTube/Facebook live stream scheduler with sermon post-processing pipeline. Schedules broadcasts via Google Calendar + YouTube API, extracts sermon clips, generates metadata, and creates Shorts.
pip install -r requirements.txt
python fb_scheduler.py --config fb_config.local.json # CLI scheduler
python fb_trigger_server.py # Web UI (port 8080)| Component | Purpose |
|---|---|
fb_scheduler.py |
Main scheduler — matches calendar events to YouTube broadcasts |
fb_trigger_server.py |
SSE-streaming web dashboard for manual triggers |
Sermons/ |
Sermon discovery, transcripts, boundaries, and downloads |
Shorts/ |
Extracted short clips (landscape + portrait) |
.github/skills/ |
Domain knowledge for sermon-metadata and short-maker workflows |
- Config: Copy
fb_config.example.json→fb_config.local.json. Never commit credentials. - Python: PEP 8, Python 3.9+,
zoneinfofor timezones - Git:
masterbranch, SSH remote, one branch per feature - Skills: YAML frontmatter + Markdown in
.github/skills/<name>/SKILL.md - Sermon data:
Sermons/sermons.jsonis the index of processed sermons
yt-dlp(CLI, not imported) for video/audio downloadsgoogle-api-python-clientfor YouTube Data APIffmpegfor segment extraction- FaceFollow (
/home/kemmie/tools/FaceFollow) for portrait crop
rm,git branch -D,curlblocked by policy- WSL path:
/mnt/c/Users/michael.kemmerer/Desktop/LiveStreamScheduler/ - Redirect output:
> /mnt/c/Users/michael.kemmerer/Desktop/out.txt 2>&1
- sermon-metadata — Generate YouTube titles/descriptions
- short-maker — Extract Shorts from sermon videos