Update parse.ts

This commit is contained in:
freearhey 2023-11-19 10:59:01 +03:00
parent d075d5d166
commit 6c1835ea5f

View file

@ -70,7 +70,7 @@ async function main() {
}) })
output = output.orderBy([ output = output.orderBy([
(channel: Channel) => channel.lang, (channel: Channel) => channel.lang || '_',
(channel: Channel) => (channel.xmltv_id ? channel.xmltv_id.toLowerCase() : '0'), (channel: Channel) => (channel.xmltv_id ? channel.xmltv_id.toLowerCase() : '0'),
(channel: Channel) => channel.site_id (channel: Channel) => channel.site_id
]) ])