A live bird collage card for your Home Assistant dashboard.
Fix atlas-card click + wire live audio + verify pipeline
Twarner49165ac7efef49d
diff --git a/avian/frontend/apt.js b/avian/frontend/apt.jsindex 2723aa32..1387e759 100644--- a/avian/frontend/apt.js+++ b/avian/frontend/apt.js@@ -1322,7 +1322,7 @@// race a timeout because icecast can take 1–10s to warm up// depending on tunnel + bitrate.return new Promise(function (resolve, reject) {- liveEl = new Audio('?t=' + Date.now());+ liveEl = new Audio('/stream?t=' + Date.now());// No crossOrigin — the stream is same-origin via the worker// and crossOrigin='anonymous' would require CORS headers// icecast doesn't send.diff --git a/avian/frontend/index.html b/avian/frontend/index.htmlindex f9015b63..91070302 100644--- a/avian/frontend/index.html+++ b/avian/frontend/index.html@@ -187,6 +187,18 @@<button type="button" data-i="2">atlas</button></nav>++<!-- AvianVisitors: empty admin-screen stub. The live JS expects this+ element to exist (openAdmin/closeAdmin call setAttribute on it).+ Menu items navigate to BirdNET-Pi's stock pages instead of opening+ in-app admin views, so this stays empty. -->+<section class="admin-screen" id="adminScreen" aria-hidden="true">+ <div class="admin-frame">+ <header class="admin-title"><h1 id="adminTitle"></h1></header>+ <div class="admin-body" id="adminBody"></div>+ </div>+</section>+<script src="./apt.js"></script></body></html>