Added debug mode
This commit is contained in:
parent
3df4f8637a
commit
b86aeb5144
|
@ -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 = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue