Added debug mode

This commit is contained in:
freearhey 2019-07-20 10:06:29 +03:00
parent 3df4f8637a
commit b86aeb5144
1 changed files with 5 additions and 1 deletions

View File

@ -1,11 +1,15 @@
const util = require('./util') const util = require('./util')
const debug = false
let total = 0 let total = 0
function init() { function init() {
let countries = util.parsePlaylist('index.m3u') let countries = util.parsePlaylist('index.m3u')
countries = countries.slice(0, 1)
if(debug) {
countries = countries.slice(0, 2)
}
let channels = [] let channels = []