misc.anonradio: fix regex

This commit is contained in:
Cynthia Foxwell 2022-08-16 14:32:12 -06:00
parent 352f928660
commit b111c1b468

View file

@ -330,7 +330,7 @@ anonradio.callback = async function (msg, line) {
subtitle = playing;
} else {
const [_, current, peakDay, peakMonth, dj, metadata] = playing.match(
/\[(\d+)\/(\d+)\/(\d+)\] \((.+?)\): (.+?)/
/^\[(\d+)\/(\d+)\/(\d+)\] \((.+?)\): (.+?)$/
);
if (metadata == "https://archives.anonradio.net") {