misc.anonradio: fix regex
This commit is contained in:
parent
352f928660
commit
b111c1b468
1 changed files with 1 additions and 1 deletions
|
@ -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") {
|
||||
|
|
Loading…
Reference in a new issue