{% extends "_base.html" %} {% block title %}{{ episode.title or 'New episode' }} — offshore{% endblock %} {% block content %}

{{ 'New episode' if is_new else 'Edit episode' }}

* required

{% set audio_url = (episode.audio.url | string) if episode.audio else '' %} {% set has_audio = audio_url and audio_url != 'None' and not is_new %} {% if has_audio %}
0:00 / 0:00
{% endif %}
{% set show_img_str = (show.image_url | string) if show.image_url else '' %} {% set show_img = show_img_str if show_img_str != 'None' else '' %} {% set ep_img_str = (episode.image_url | string) if episode.image_url else '' %} {% set ep_img = ep_img_str if ep_img_str != 'None' else '' %} {% set active_img = ep_img or show_img %}
{% if not is_new %}
{% if episode.guid.startswith('draft-') %}A permanent GUID will be generated when you publish this draft.{% else %}Generated on episode creation and shouldn’t be edited. Changing it would look like a brand-new episode to subscribers.{% endif %}
{% endif %}
{% if probe_entry is defined and probe_entry %}

{{ 'probed' if probe_entry.ok else 'probe failed' }} {{ probe_entry.mime_type or probe_entry.error or 'unknown error' }} — {{ probe_entry.probed_at.strftime('%Y-%m-%d %H:%M') }}

{% elif episode.audio.length_bytes %}

probed {{ episode.audio.mime_type }}, {{ episode.audio.length_bytes }} bytes

{% endif %}
{% if episode_image_check.image == "fail" %}

image check failed {{ episode_image_check.image_warnings[0] if episode_image_check.image_warnings else "could not verify this image" }}

{% elif episode_image_check.image_warnings %}{% for w in episode_image_check.image_warnings %}

image {{ w }}

{% endfor %}{% endif %}

Hosts and guests, chosen from the show roster or create new entries right here.

Preview

{% if not is_new %}{% endif %}
Saving{% if not is_new %} and verifying audio{% endif %}…
{% if not is_new %}

Republish episode

Changing an episode's pub_date will look like a brand new item to some podcast clients. Subscribers may re-download and be notified.

{% endif %} {% endblock %} {% block person_add_modal %}{% include "_add_person_overlay.html" %}{% endblock %}