From a3cf7aabee69296ae5e01c35bd1076461d1918dc Mon Sep 17 00:00:00 2001 From: Cynthia Date: Sun, 18 Dec 2022 13:04:20 -0700 Subject: [PATCH] anonradio: fix empty slots --- src/modules/anonradio.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/anonradio.js b/src/modules/anonradio.js index e163e7b..a1f340a 100644 --- a/src/modules/anonradio.js +++ b/src/modules/anonradio.js @@ -55,6 +55,8 @@ async function updateNowPlaying() { if (playing.includes("listeners with a daily peak of")) { title = `${liveNow.name} (\`${liveNow.id}\`)`; subtitle = playing; + } else if (playing.startsWith("Coming up")) { + title = playing; } else { const [_, current, peakDay, peakMonth, dj, metadata] = playing.match( /\[(\d+)\/(\d+)\/(\d+)\] \((.+?)\): (.+)/