mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update update-guides.js
This commit is contained in:
parent
d5798d87c2
commit
f6f20c28e4
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,8 @@ async function generateGuides() {
|
||||||
}
|
}
|
||||||
|
|
||||||
channels = Object.values(channels)
|
channels = Object.values(channels)
|
||||||
|
channels = _.sortBy(channels, 'xmltv_id')
|
||||||
|
programs = _.sortBy(programs, ['channel', 'start'])
|
||||||
|
|
||||||
logger.info(`Creating "${filepath}"...`)
|
logger.info(`Creating "${filepath}"...`)
|
||||||
const output = grabber.convertToXMLTV({ channels, programs })
|
const output = grabber.convertToXMLTV({ channels, programs })
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue