{% extends 'admin/_layout.html.twig' %} {% block title %}{{ podcast.title }} — Relecture{% endblock %} {% block admin %} ← Toutes les conférences

{{ podcast.title }}

{# ——— État du fichier et du traitement ——— #}

Fichier

{{ validation.message }}

Statut

{{ podcast.processingStatus }}{{ podcast.published ? '' : ' (non publiée)' }}

Confiance métadonnées

{{ podcast.metadataConfidence is null ? '—' : (podcast.metadataConfidence * 100)|round ~ ' %' }}

{# ——— Ce que la machine propose, face à ce qui est enregistré ——— #}

Proposition automatique

Nom d'origine
{{ podcast.originalFilename ?? '— (non renseigné)' }}
Titre proposé
« {{ proposal.title }} » confiance {{ (proposal.confidence * 100)|round }} % {{ proposal.isReliable ? '' : '— à valider à la main' }}
{% if proposal.year %}
Année lue
{{ proposal.year }}
{% endif %} {% if proposal.place %}
Lieu lu
{{ proposal.place }}
{% endif %}
{% if proposal.notes|length %} {% endif %}
{# ——— Fiche éditable ——— #}

Fiche

Date de la causerie elle-même, pas celle de la numérisation {% if podcast.digitizedAt %}({{ podcast.digitizedAt|date('d/m/Y') }}){% endif %}.

Thèmes
{% set current = podcast.topics|map(t => t.id) %} {% for theme in themes %} {% endfor %}
{# ——— Chapitres ——— #}

Chapitres

{% if podcast.chapters|length %} {% else %}

Aucun chapitre pour le moment.

{% endif %}
{# ——— Transcription ——— #}

Transcription

{% if podcast.transcript and not podcast.transcript.isEmpty %}

{{ podcast.transcript.provider ?? 'source inconnue' }} {{ podcast.transcript.detectedLanguage ? '· ' ~ podcast.transcript.detectedLanguage }}

{{ podcast.transcript.text }}
{% else %}

Aucune transcription. Configurez un fournisseur (TRANSCRIPTION_PROVIDER) puis relancez le pipeline.

{% endif %}
{# ——— Actions ——— #}
{% if podcast.published %} {% endif %} Voir la page publique
{% endblock %}