mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 18:10:04 -04:00
Removed extra checks
This commit is contained in:
parent
8c97e8320f
commit
7e94275183
1 changed files with 1 additions and 5 deletions
|
@ -18,11 +18,7 @@ async function main() {
|
|||
|
||||
console.log(`Parsing 'index.m3u'...`)
|
||||
const playlist = util.parsePlaylist('index.m3u')
|
||||
let countries = playlist.items
|
||||
const unsortedIndex = countries.map(c => c.url).indexOf('channels/unsorted.m3u')
|
||||
if(unsortedIndex > -1) {
|
||||
countries.splice(unsortedIndex, 1)
|
||||
}
|
||||
const countries = playlist.items
|
||||
|
||||
if(debug) {
|
||||
console.log('Debug mode is turn on')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue