mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 02:20:03 -04:00
Update format.js
This commit is contained in:
parent
b174e5e178
commit
0529364483
1 changed files with 4 additions and 1 deletions
|
@ -106,7 +106,10 @@ function addMissingData(channel) {
|
|||
function updateStatus(channel, status) {
|
||||
if (status.ok) {
|
||||
channel.status = null
|
||||
} else if (status.reason.includes('timed out')) {
|
||||
} else if (
|
||||
status.reason.includes('timed out') ||
|
||||
status.reason.includes('not one of 40{0,1,3,4}')
|
||||
) {
|
||||
// nothing
|
||||
} else {
|
||||
channel.status = 'Offline'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue