mirror of
https://github.com/iptv-org/iptv
synced 2026-10-25 04:18:39 -04:00
Update format.js
This commit is contained in:
1 parent
70b6fd59d9
commit
02a2d41cfd
1 file changed
+2
-2
+2
-2
@@ -62,10 +62,10 @@ async function updatePlaylist(playlist) {
|
|||||||
for (const channel of playlist.channels) {
|
for (const channel of playlist.channels) {
|
||||||
addMissingData(channel)
|
addMissingData(channel)
|
||||||
const checkOnline = config.status || config.resolution
|
const checkOnline = config.status || config.resolution
|
||||||
const skip =
|
const skipChannel =
|
||||||
channel.status &&
|
channel.status &&
|
||||||
ignoreStatus.map(i => i.toLowerCase()).includes(channel.status.toLowerCase())
|
ignoreStatus.map(i => i.toLowerCase()).includes(channel.status.toLowerCase())
|
||||||
if (checkOnline && !skip) {
|
if (checkOnline && !skipChannel) {
|
||||||
await checker
|
await checker
|
||||||
.checkStream(channel.data)
|
.checkStream(channel.data)
|
||||||
.then(result => {
|
.then(result => {
|
||||||
|
|||||||
Reference in new issue
Block a user