mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 18:37:01 -05:00
Update update-guides.js
This commit is contained in:
@@ -65,10 +65,15 @@ async function generateGuides() {
|
||||
const output = grabber.convertToXMLTV({ channels, programs })
|
||||
await file.create(filepath, output)
|
||||
|
||||
let status = 0
|
||||
if (errors.length > 0 || !channels.length) {
|
||||
status = 1
|
||||
}
|
||||
|
||||
await logGuide({
|
||||
group: key,
|
||||
count: items.length,
|
||||
status: errors.length > 0 ? 1 : 0
|
||||
count: channels.length,
|
||||
status
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user