sync: auto-sync from GURU-BEAST-ROG at 2026-05-01 15:05:53

Author: Mike Swanson
Machine: GURU-BEAST-ROG
Timestamp: 2026-05-01 15:05:53
This commit is contained in:
2026-05-01 15:05:53 -07:00
parent ec98c6c636
commit b008b61440
11 changed files with 429 additions and 559 deletions

View File

@@ -549,7 +549,8 @@ def _episode_html(episode_id: int) -> str:
# the segment stream chronologically.
qa_rows = [dict(r) for r in qa]
qa_starts = sorted(
((r["question_start_sec"] or 0.0), r) for r in qa_rows
(((r["question_start_sec"] or 0.0), r) for r in qa_rows),
key=lambda x: x[0],
)
# Right rail summary lists
@@ -595,7 +596,8 @@ def _episode_html(episode_id: int) -> str:
# Intros also get inline anchors so the right-rail jump links work
intro_by_time = sorted(
((r["intro_time_sec"] or 0.0), r) for r in intros
(((r["intro_time_sec"] or 0.0), r) for r in intros),
key=lambda x: x[0],
)
intro_iter = iter(intro_by_time)
next_intro = next(intro_iter, None)