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
c1ee2b2f19
commit
a53702f69c
1 changed files with 2 additions and 2 deletions
|
@ -62,10 +62,10 @@ async function updatePlaylist(playlist) {
|
|||
for (const channel of playlist.channels) {
|
||||
addMissingData(channel)
|
||||
const checkOnline = config.status || config.resolution
|
||||
const skip =
|
||||
const skipChannel =
|
||||
channel.status &&
|
||||
ignoreStatus.map(i => i.toLowerCase()).includes(channel.status.toLowerCase())
|
||||
if (checkOnline && !skip) {
|
||||
if (checkOnline && !skipChannel) {
|
||||
await checker
|
||||
.checkStream(channel.data)
|
||||
.then(result => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue