Add optional episode titles to queued and live broadcasts

Store an episode_title on each broadcast, settable from the dashboard
or with set_show.php --title=, and show it under the show name on
index.php and under the heading on live.php.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Daniel MesserandClaude Opus 5.5 committed 2026-10-30 16:11:22 -05:00
1 parent 9bc9af87c7
commit 170ae6eed0
9 files changed
+67 -25

No files matched your search

+8
View File
@@ -70,6 +70,11 @@ if ($show && $show['background_image'] && is_file(__DIR__ . '/images/backgrounds
box-sizing: border-box;
width: 100%;
}
.episode-title {
font-size: 1.25em;
font-style: italic;
margin-top: -0.75em;
}
#recently-played td {
vertical-align: middle;
}
@@ -159,6 +164,9 @@ if ($show && $show['background_image'] && is_file(__DIR__ . '/images/backgrounds
<section id="one">
<header class="major">
<h2>Recently Played<?php if ($show): ?> on <?= htmlspecialchars($show['name'], ENT_QUOTES, 'UTF-8') ?><?php endif; ?></h2>
<?php if ($show && $show['episode_title']): ?>
<p class="episode-title"><?= htmlspecialchars($show['episode_title'], ENT_QUOTES, 'UTF-8') ?></p>
<?php endif; ?>
</header>
<div class="table-wrapper">
<table>