Add clip generator, hourly stats cron, and transcription improvements

- make_clips.py: Extract best moments from episodes as short-form clips
  (9:16 vertical MP4 with captions for TikTok/Shorts/Reels)
- deploy_stats_cron.sh: Deploy podcast_stats.py to NAS as Docker container
  running hourly with auto-restart
- podcast_stats.py: Add _find_ytdlp() for Docker compatibility, auto-detect
  local Docker for Castopod DB queries
- publish_episode.py: Upgrade Whisper model from base to large-v3

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-15 01:30:33 -07:00
parent 28af0723c7
commit b02616bc44
4 changed files with 1193 additions and 9 deletions

View File

@@ -60,7 +60,7 @@ PODCAST_ID = 1
PODCAST_HANDLE = "LukeAtTheRoost"
OPENROUTER_API_KEY = os.getenv("OPENROUTER_API_KEY")
WHISPER_MODEL = "base" # Options: tiny, base, small, medium, large
WHISPER_MODEL = "large-v3"
# Postiz (social media posting)
POSTIZ_URL = "https://social.lukeattheroost.com"