Ep12 publish, caller prompt overhaul, favicon, publish fixes, website updates
- Reworked caller prompt: edgy/flirty personality, play along with host bits - Bumped caller token budget (200-550 range, was 150-450) - Added 20 layered/morally ambiguous caller stories - Valentine's Day awareness in seasonal context - Default LLM model: claude-sonnet-4-5 (was claude-3-haiku) - Publish: SCP-based SQL transfer (fixes base64 encoding on NAS) - Favicons: added .ico, 48px, 192px PNGs for Google search results - Website: button layout cleanup, privacy page, ep12 transcript - Control panel: channel defaults match audio_settings.json - Disabled OP3 permanently (YouTube ingest issues on large files) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,7 @@ Usage:
|
||||
|
||||
import argparse
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
@@ -128,7 +129,7 @@ def gather_youtube(include_comments=False):
|
||||
|
||||
try:
|
||||
proc = subprocess.run(
|
||||
["yt-dlp", "--dump-json", "--flat-playlist",
|
||||
[os.path.join(os.path.dirname(os.path.abspath(__file__)), "venv", "bin", "yt-dlp"), "--dump-json", "--flat-playlist",
|
||||
f"https://www.youtube.com/playlist?list={YOUTUBE_PLAYLIST}"],
|
||||
capture_output=True, text=True, timeout=60
|
||||
)
|
||||
@@ -159,7 +160,7 @@ def gather_youtube(include_comments=False):
|
||||
|
||||
for vid in video_ids:
|
||||
try:
|
||||
cmd = ["yt-dlp", "--dump-json", "--no-download", f"https://www.youtube.com/watch?v={vid}"]
|
||||
cmd = [os.path.join(os.path.dirname(os.path.abspath(__file__)), "venv", "bin", "yt-dlp"), "--dump-json", "--no-download", f"https://www.youtube.com/watch?v={vid}"]
|
||||
if include_comments:
|
||||
cmd.insert(2, "--write-comments")
|
||||
vr = subprocess.run(cmd, capture_output=True, text=True, timeout=90)
|
||||
@@ -203,7 +204,7 @@ def gather_youtube(include_comments=False):
|
||||
if videos:
|
||||
try:
|
||||
vr = subprocess.run(
|
||||
["yt-dlp", "--dump-json", "--no-download", "--playlist-items", "1",
|
||||
[os.path.join(os.path.dirname(os.path.abspath(__file__)), "venv", "bin", "yt-dlp"), "--dump-json", "--no-download", "--playlist-items", "1",
|
||||
f"https://www.youtube.com/playlist?list={YOUTUBE_PLAYLIST}"],
|
||||
capture_output=True, text=True, timeout=30
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user