mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Update create-matrix.js
This commit is contained in:
parent
ed66f896a0
commit
835370c669
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
const glob = require('glob')
|
|
||||||
const file = require('./file.js')
|
const file = require('./file.js')
|
||||||
|
|
||||||
file.list(['ad'], []).then(files => {
|
file.list([], ['us-local']).then(files => {
|
||||||
const country = files.map(file => file.replace(/channels\/|\.xml/gi, ''))
|
const country = files.map(file => file.replace(/channels\/|\.xml/gi, ''))
|
||||||
const days = country.map(() => 2)
|
const days = country.map(() => 2)
|
||||||
const matrix = { country, days }
|
const matrix = { country, days }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue