From ea18e21d42ec451019b971ea8abd0b90f8a3bea3 Mon Sep 17 00:00:00 2001 From: Cynthia Date: Wed, 21 Dec 2022 10:59:24 -0700 Subject: [PATCH] anonradio: pull openmic metadata --- src/modules/anonradio.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/anonradio.js b/src/modules/anonradio.js index d0a5943..7a3e8e8 100644 --- a/src/modules/anonradio.js +++ b/src/modules/anonradio.js @@ -92,6 +92,7 @@ async function updateNowPlaying() { ); if (streamData && streamData.stream_start_iso8601) { const startTime = new Date(streamData.stream_start_iso8601).getTime(); + title = `${streamData.title} (\`${streamData.server_name ? streamData.server_name + " | " + liveNow.id : liveNow.id}\`)`; openmicTime = `-\\*- OpenMIC DJ has been streaming for ${formatTime( Date.now() - startTime )} -\\*-\n`;