mirror of
https://github.com/iptv-org/iptv
synced 2026-10-25 20:38:55 -04:00
Update format.js
This commit is contained in:
1 parent
d00e4b4bf5
commit
c43ca9b66f
1 file changed
+4
-1
+4
-1
@@ -106,7 +106,10 @@ function addMissingData(channel) {
|
|||||||
function updateStatus(channel, status) {
|
function updateStatus(channel, status) {
|
||||||
if (status.ok) {
|
if (status.ok) {
|
||||||
channel.status = null
|
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
|
// nothing
|
||||||
} else {
|
} else {
|
||||||
channel.status = 'Offline'
|
channel.status = 'Offline'
|
||||||
|
|||||||
Reference in new issue
Block a user