Add private replay draft for refined podcasts

Emissions opted into RefineReplay (ignored for OBS) get an owner-only
source.mp4 draft after the live or an interruption. The owner saves
revisioned marks and removed ranges, streams the source and queues an
idempotent publication; the worker renders or copies it within quota and
atomically replaces replay.mp4. Originals and drafts stay private until
publication, and the web catalogue shows "Replay en preparation".

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Paul Schneider 2026-11-16 14:22:14 +00:00
commit 46fc937443
Signed by: notazof
GPG key ID: AD4B9B545FBD7D12
22 changed files with 6069 additions and 40 deletions

View file

@ -53,7 +53,11 @@ else
{
<p>@Localizer["Debut prevu : {0} ; duree prevue : {1} min", podcast.ScheduledStartAt.Value.ToString("u"), podcast.PlannedDurationMinutes]</p>
}
@if (podcast.SegmentCount > 0)
@if (!ready && podcast.RefineReplay && podcast.State != PodcastState.Live)
{
<p class="alert alert-info">@Localizer["Replay en préparation."]</p>
}
else if (podcast.SegmentCount > 0)
{
<video controls playsinline preload="none" class="w-100"
aria-label="@podcast.Title" data-podcast-player