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 ])