Commit Graph
46 Commits
Author SHA1 Message Date
Daniel Messer 390b4f989f Updated content and layout 2026-10-30 06:44:12 -04:00
Daniel MesserandClaude Opus 5.5 6e8b473dff Add Yunohost setup guide and make the poller lock per-script
The poller's lock file in /tmp could be left owned by another user after a
manual run, leaving cron unable to open it. Lock the script file instead.

SETUP.md walks through installing the site on Yunohost, including the
/etc/cron.d entry for the poller, which was missing on the server and left
the recently played list empty.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 20:48:52 -05:00
Daniel Messer 5c5e2e17ba Updated TODO 2026-10-29 14:04:18 -05:00
Daniel MesserandClaude Opus 5.5 83e8482812 Update CLAUDE.md for database, admin backend and track history
Document the expanded scope, admin pages, broadcast and track history
rules, upload handling, coding conventions, server-only deployment
steps and planned work.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 14:03:09 -05:00
Daniel MesserandClaude Opus 5.5 1057c71561 Fill the sidebar with the background image
Use the opaque bg.jpg instead of bg.png, whose built-in alpha fade let
the brown background show through, and size it to cover the whole
column rather than 150% of its width.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 13:59:15 -05:00
Daniel MesserandClaude Opus 5.5 21393227f7 Ignore uploaded show backgrounds
Background images are uploaded through the admin pages on each server
and named to match that server's database, so they stay out of git.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 13:52:04 -05:00
Daniel MesserandClaude Opus 5.5 6e61fc6bda Add show management and going-live controls to admin
- admin/shows.php: list shows
- admin/show_edit.php: add, edit and delete shows, with validated
  background image uploads saved under generated names
- admin/index.php: queue the next show, switch the live show, or clear
  the queue
- includes/broadcasts.php: setBroadcastShow() and clearQueuedShow(),
  shared by the dashboard and cli/set_show.php
- includes/admin_layout.php: flash messages and Shows nav link

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 13:48:14 -05:00
Daniel MesserandClaude Opus 5.5 babb71660c Add admin login
- admins and login_attempts tables
- cli/create_admin.php: create an admin or reset a password over SSH
  (no email involved)
- includes/auth.php: hardened admin sessions, login throttling (5
  failures per IP per 15 minutes) and CSRF helpers
- admin/: login, logout and a dashboard showing broadcast status
- includes/admin_layout.php: shared admin page layout

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 07:13:51 -05: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
Daniel Messer b0907f7e5b Fixed TODO formatting 2026-10-29 05:48:09 -05:00
Daniel Messer 142713bb43 Added a TODO 2026-10-29 05:44:02 -05:00
Daniel Messer 8c38d9da48 Updated show along with cosmetic tweaks 2026-06-07 10:06:58 -04:00
Daniel Messer abe884337a Fixed a typo in The Spin copy. Nothing big. 2026-05-27 08:46:58 -04:00
Daniel Messer 5e4d9683b1 Added The Spin to the shownotes and images. 2026-05-27 08:46:10 -04:00
Daniel Messer 160598aabf Updated README 2026-05-21 15:27:26 -04:00
Daniel Messer 138e91b37e Added Last.fm linkage 2026-05-21 14:43:26 -04:00
Daniel Messer 9db31d0664 Cosmetic updates to now playing display. 2026-05-21 14:37:54 -04:00
Daniel Messer 9e64bbd4e9 Added fuller metadata and album covers from iTunes. 2026-05-21 14:23:40 -04:00
Daniel Messer 65a1e3360a Added CLAUDE.md and updated .gitignore. 2026-05-21 10:51:14 -04:00
Daniel Messer 20e934b025 Fixed UTF encoding issues 2026-04-23 19:46:08 -04:00
Daniel Messer cf8261d0d1 Updated for Moya's show 2026-04-23 14:15:06 -04:00
Daniel Messer 9d6941259e Updated show. 2026-04-05 10:50:11 -04:00
Daniel Messer 3cd1881784 Updated for O'Morain's 2026-03-17 10:16:30 -04:00
Daniel Messer 37ca290f92 Updated Central time to Eastern 2026-02-28 17:46:28 -05:00
Daniel Messer b8563f4fc2 Updated with new archive and show info. 2026-02-28 17:45:00 -05:00
Daniel Messer 3697b7e1d0 Updating for new episode. 2026-02-28 17:29:03 -05:00
Daniel Messer d59a44b11c Added icons and show descriptions. 2025-03-19 12:23:59 -05:00
Daniel Messer 02299e2358 Updating for Cosmo show. 2025-02-27 16:09:22 -06:00
Daniel Messer 8f4ecb284c Updated social tags and image. 2025-02-26 18:46:34 -06:00
Daniel Messer d0f891fcd1 README txt to md. 2025-02-24 07:27:28 -06:00
Daniel Messer 82cacb8685 Updated README. 2025-02-24 07:26:20 -06:00
Daniel Messer cbba86b842 Add link for audio streaming apps. 2025-02-24 07:15:57 -06:00
Daniel Messer 767b758144 Larger background image. 2025-02-23 22:04:04 -06:00
Daniel Messer bf3330ae7c Small tweaks. 2025-02-23 21:53:23 -06:00
Daniel Messer 90e195a670 Migration to new site. 2025-02-23 21:51:24 -06:00
Daniel Messer 58a4b77b90 New site mostly ready. 2025-02-23 21:46:48 -06:00
Daniel Messer cce8e9292c Basic set up on new site. 2025-02-21 07:29:58 -06:00
Daniel Messer be5fa793dd Get started on new site. 2025-02-20 22:02:27 -06:00
Daniel Messer 9dd8799fcb Added gitignore. 2025-02-19 21:27:30 -06:00
Daniel Messer abb3de5fa0 Many tweaks. Fixed Safari display bug. 2025-02-19 21:24:42 -06:00
Daniel Messer 72d532ad11 Updated for Cosmo stream. 2025-02-19 19:31:22 -06:00
Daniel Messer eca10ea88c Added social graph info. 2025-02-18 16:20:05 -06:00
Daniel Messer b100d4fe86 Updated index and tweaked CSS. 2025-02-18 15:49:15 -06:00
Daniel Messer 85e26856d8 Initial commit. 2025-02-18 15:29:43 -06:00
Daniel Messer 9ca685595f Initial commit 2025-02-18 21:25:29 +00:00