Added debug mode
This commit is contained in:
parent
3df4f8637a
commit
b86aeb5144
|
@ -1,11 +1,15 @@
|
|||
const util = require('./util')
|
||||
|
||||
const debug = false
|
||||
let total = 0
|
||||
|
||||
function init() {
|
||||
|
||||
let countries = util.parsePlaylist('index.m3u')
|
||||
countries = countries.slice(0, 1)
|
||||
|
||||
if(debug) {
|
||||
countries = countries.slice(0, 2)
|
||||
}
|
||||
|
||||
let channels = []
|
||||
|
||||
|
|
Loading…
Reference in New Issue