From 5bc67228113bca0c1b07e9192a775aa418bed913 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Wed, 11 May 2022 17:29:20 +0300 Subject: [PATCH] Update cleaner.js --- scripts/commands/playlist/cleaner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/commands/playlist/cleaner.js b/scripts/commands/playlist/cleaner.js index 8595dbf5f..3389f5208 100644 --- a/scripts/commands/playlist/cleaner.js +++ b/scripts/commands/playlist/cleaner.js @@ -22,7 +22,7 @@ async function main() { if (options.debug) logger.info(stream.url) const [_, status] = stream.raw.match(/status="([a-z]+)"/) || [null, null] stream.status = status - if (status === 'error' && /^(http|https)/.test(stream.url) && !/\[.*\]$/.test(stream.name)) { + if (status === 'error' && /^(http|https)/.test(stream.url)) { const result = await checkStream(stream) const newStatus = parseStatus(result.error) if (status === newStatus) {