From 6c1835ea5f99b9693a1aa165e60c7dfb71fa5767 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Sun, 19 Nov 2023 10:59:01 +0300 Subject: [PATCH] Update parse.ts --- scripts/commands/channels/parse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/commands/channels/parse.ts b/scripts/commands/channels/parse.ts index 2ea36ca3..b00d2a26 100644 --- a/scripts/commands/channels/parse.ts +++ b/scripts/commands/channels/parse.ts @@ -70,7 +70,7 @@ async function main() { }) output = output.orderBy([ - (channel: Channel) => channel.lang, + (channel: Channel) => channel.lang || '_', (channel: Channel) => (channel.xmltv_id ? channel.xmltv_id.toLowerCase() : '0'), (channel: Channel) => channel.site_id ])