lukeandClaude Opus 5 fe37c037d4 Fix NAS stats returning zeros instead of real download numbers
Two independent bugs, either of which made gather_castopod() report
total_downloads: 0 on a dev machine — indistinguishable from a podcast nobody
listens to.

- NAS_SSH hardcoded mmgnas-10g, which is only reachable when the 10G cable is
  physically connected. Now probed once per process with a 2s timeout and
  falls back to mmgnas; NAS_HOST overrides detection entirely. Same detection
  added to deploy_stats_cron.sh.
- _run_db_query treated any docker binary on PATH as "running on the NAS", so
  a machine with Docker Desktop queried its own daemon, found no castopod
  container, and never fell back to SSH. Only the QNAP container-station path
  counts now.

Real figures with both fixed: 3803 downloads, 750 unique listeners.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-15 17:05:10 -05:00
S
Description
AI Radio Show - web-based podcast production with multiple TTS providers
MIT
9.6 MiB
Languages
HTML 78.2%
Python 17.3%
JavaScript 2%
CSS 1.3%
Lua 1%
Other 0.2%