mirror of
https://github.com/iptv-org/epg
synced 2025-12-18 11:27:06 -05:00
Update update-guides.js
This commit is contained in:
@@ -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 })
|
||||||
|
|||||||
Reference in New Issue
Block a user