Update parse-channels.js

This commit is contained in:
Aleksandr Statciuk 2022-01-20 20:18:49 +03:00
parent d34f2fabfc
commit d0cf7275f4
1 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,8 @@ async function main() {
}
}
channels = _.sortBy(channels, 'xmltv_id')
const xml = json2xml(channels, config.site)
const dir = path.parse(options.config).dir