Update format.js

pull/4034/head
Aleksandr Statciuk 3 years ago
parent c1ee2b2f19
commit a53702f69c

@ -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…
Cancel
Save