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;
|
subtitle = playing;
|
||||||
} else {
|
} else {
|
||||||
const [_, current, peakDay, peakMonth, dj, metadata] = playing.match(
|
const [_, current, peakDay, peakMonth, dj, metadata] = playing.match(
|
||||||
/\[(\d+)\/(\d+)\/(\d+)\] \((.+?)\): (.+?)/
|
/^\[(\d+)\/(\d+)\/(\d+)\] \((.+?)\): (.+?)$/
|
||||||
);
|
);
|
||||||
|
|
||||||
if (metadata == "https://archives.anonradio.net") {
|
if (metadata == "https://archives.anonradio.net") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue