mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 10:30:03 -04:00
Added debug mode
This commit is contained in:
parent
3df4f8637a
commit
b86aeb5144
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue