From e339901e5c852288d4c1ded7fbd559082277a1e2 Mon Sep 17 00:00:00 2001 From: teahubxyz Date: Thu, 22 Oct 2026 19:45:47 +0000 Subject: [PATCH] =?UTF-8?q?mcp=20radio:=20v3=20card=20=E2=80=94=20self-run?= =?UTF-8?q?ning=20station=20in=20one=20card,=20compact=20layout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_014mBuCaQSgWwqhtzsmTBQuM --- mcp/worker.js | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/mcp/worker.js b/mcp/worker.js index 6fb543f..d92c698 100644 --- a/mcp/worker.js +++ b/mcp/worker.js @@ -198,7 +198,7 @@ const rows=document.getElementById('rows'); d.querySelector('button').onclick=async()=>{const s=document.getElementById('s-'+id);try{const u=src||bytes(await tool('get_track',{id:'sky'}));const a=new Audio(u);await a.play();s.textContent='playing';setTimeout(()=>a.pause(),4000)}catch(e){s.textContent='error: '+e.message}};rows.appendChild(d)}); `; -const RADIO_HTML = ` +const RADIO_HTML_V2 = ` +
+

tuning in…

waiting for the DJ
+
+
+
+ +
+
log
+`;