TTS fixes, Inworld improvements, footer redesign, episodes 15-25, invoice script fix
- Fix TTS text pipeline: new caps handling (spell out unknown acronyms, lowercase emphasis words), action-word lookahead for parenthetical stripping, abbreviation expansions (US→United States, NM→New Mexico), pronunciation fixes - Inworld TTS: camelCase API fields, speakingRate per-voice overrides, retry logic with exponential backoff (3 attempts) - Footer redesign: SVG icons for social/podcast links across all pages - Stats page: show "Rate us on Spotify" instead of "not public" placeholder - New voices, expanded caller prompts and problem scenarios - Social posting via Postiz, YouTube upload in publish pipeline - Episode transcripts 15-25, terms page, sitemap updates - Fix invoice script: match Timing totals using merged Task+App intervals Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -23,8 +23,7 @@ TMPFILE=$(mktemp)
|
||||
cat > "$TMPFILE" << 'DOCKERFILE'
|
||||
FROM python:3.11-slim
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/* \
|
||||
&& curl -fsSL https://download.docker.com/linux/static/stable/x86_64/docker-27.5.1.tgz | tar xz --strip-components=1 -C /usr/local/bin docker/docker \
|
||||
&& apt-get purge -y curl && apt-get autoremove -y
|
||||
&& curl -fsSL https://download.docker.com/linux/static/stable/x86_64/docker-27.5.1.tgz | tar xz --strip-components=1 -C /usr/local/bin docker/docker
|
||||
RUN pip install --no-cache-dir requests yt-dlp
|
||||
COPY podcast_stats.py /app/podcast_stats.py
|
||||
COPY run_loop.sh /app/run_loop.sh
|
||||
@@ -42,7 +41,12 @@ cat > "$TMPFILE" << 'LOOPSCRIPT'
|
||||
echo "podcast-stats: starting hourly loop"
|
||||
while true; do
|
||||
echo "$(date -u '+%Y-%m-%dT%H:%M:%SZ') Running stats update..."
|
||||
python podcast_stats.py --json --upload 2>&1 || echo " ...failed, will retry next hour"
|
||||
if python podcast_stats.py --json --upload 2>&1; then
|
||||
curl -s "https://monitoring.macneilmediagroup.com/api/push/yk9tjJVUGVXhu4zjol2EvpepIlBTfFoD?status=up&msg=OK" > /dev/null
|
||||
echo " ...done, heartbeat sent"
|
||||
else
|
||||
echo " ...failed, will retry next hour"
|
||||
fi
|
||||
echo "Sleeping 1 hour..."
|
||||
sleep 3600
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user