Commit Graph
7 Commits
Author SHA1 Message Date
Daniel MesserandClaude Opus 5.5 170ae6eed0 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>
2026-10-30 16:11:22 -05:00
Daniel Messer 9bc9af87c7 Cleaned up code in index and live pages 2026-10-30 15:58:31 -05:00
Daniel MesserandClaude Opus 5.5 7a19876fe7 Fix recently played text alignment and remove stray index copy
Centre the recently played cells vertically so text lines up with the
album art instead of the image's bottom edge, and keep times on one line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 15:51:37 -05:00
Daniel Messer 3fb49e816c Updated upcoming show 2026-10-30 08:37:10 -05:00
Daniel Messer 390b4f989f Updated content and layout 2026-10-30 06:44:12 -04:00
Daniel MesserandClaude Opus 5.5 74dfb3c146 Add recently played tracking with shows and broadcasts
- sql/schema.sql: shows, broadcasts and played_tracks tables, seeded
  with the five shows
- cli/poll_icecast.php: cron-run poller that records broadcasts and
  tracks every 15 seconds while streaming; tracks are cleared ten
  minutes after a broadcast ends
- cli/set_show.php: queue the next show, or assign one to the live
  broadcast
- recently_played.php: track history rows for live.php, with album art
  and album title linking to Last.fm
- live.php: recently played list, show name in heading, and per-show
  header background
- includes/icecast.php: Icecast parsing, album art and Last.fm helpers
  shared by now_playing.php and the poller
- includes/db.php: use UTC for the database session

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 06:45:44 -05:00
Daniel MesserandClaude Opus 5.5 9a1e8a33a6 Add database connection helper and live now-playing page
- includes/db.php: getDB() returns a shared PDO connection to MariaDB
- config/db_credentials.example.php: credentials template; the real
  db_credentials.php is gitignored and deployed separately via SFTP
- live.php: page for active broadcasts, with the player on the left
  and a placeholder Recently Played table on the right

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 06:20:07 -05:00