Update update-readme.ts
This commit is contained in:
@@ -53,6 +53,7 @@ async function main() {
|
|||||||
const xml = file.read(filename)
|
const xml = file.read(filename)
|
||||||
let epg: EPG = parser.parse(xml)
|
let epg: EPG = parser.parse(xml)
|
||||||
let emptyGuides = 0
|
let emptyGuides = 0
|
||||||
|
if (!epg.channels.length) return
|
||||||
epg.channels.forEach((channel: Channel) => {
|
epg.channels.forEach((channel: Channel) => {
|
||||||
const showCount = epg.programs.filter(
|
const showCount = epg.programs.filter(
|
||||||
(program: Program) => program.channel === channel.id
|
(program: Program) => program.channel === channel.id
|
||||||
|
|||||||
Reference in New Issue
Block a user