Update clean.js
This commit is contained in:
parent
af539f6b87
commit
34d6e87250
|
@ -53,11 +53,7 @@ async function checkPlaylist(playlist) {
|
||||||
channels.push(channel)
|
channels.push(channel)
|
||||||
} else {
|
} else {
|
||||||
const result = await checker.checkStream(channel.data)
|
const result = await checker.checkStream(channel.data)
|
||||||
if (
|
if (result.status.ok || result.status.reason.includes('timed out')) {
|
||||||
result.status.ok ||
|
|
||||||
result.status.reason.includes('timed out') ||
|
|
||||||
result.status.reason.includes('not one of 40{0,1,3,4}')
|
|
||||||
) {
|
|
||||||
channels.push(channel)
|
channels.push(channel)
|
||||||
} else {
|
} else {
|
||||||
if (config.debug) log.print(`ERR: ${channel.url} (${result.status.reason})\n`)
|
if (config.debug) log.print(`ERR: ${channel.url} (${result.status.reason})\n`)
|
||||||
|
|
Loading…
Reference in New Issue