mirror of
https://github.com/iptv-org/iptv
synced 2026-10-25 04:18:39 -04:00
Skip geo-blocked streams when updating status
This commit is contained in:
1 parent
552f19790d
commit
303b26d031
4 files changed
+5
-3
No files matched your search
@@ -96,7 +96,9 @@ async function updateStreams() {
|
||||
status = item.status
|
||||
else if (prevStatus.code === 'geo_blocked') // geo_blocked -> * = geo_blocked
|
||||
status = item.status
|
||||
else if(prevStatus.code === 'offline' && status.code === 'online') // offline -> online = not_247
|
||||
else if (status.code === 'geo_blocked') // * -> geo_blocked = *
|
||||
status = item.status
|
||||
else if (prevStatus.code === 'offline' && status.code === 'online') // offline -> online = not_247
|
||||
status = statuses['not_247']
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user